aboutsummaryrefslogtreecommitdiff
path: root/src/ruby/devcontainer-feature.json
blob: 68951d899864738ee2a51a48de2333c2041e6109 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
    "id": "ruby",
    "version": "1.0.8",
    "name": "Ruby (via rvm)",
    "documentationURL": "https://github.com/devcontainers/features/tree/main/src/ruby",
    "description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "none",
                "3.1",
                "3.0",
                "2.7"
            ],
            "default": "latest",
            "description": "Select or enter a Ruby version to install"
        }
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "rebornix.Ruby"
            ]
        }
    },
    "containerEnv": {
        "GEM_PATH": "/usr/local/rvm/gems/default:/usr/local/rvm/gems/default@global",
        "GEM_HOME": "/usr/local/rvm/gems/default",
        "MY_RUBY_HOME": "/usr/local/rvm/rubies/default",
        "PATH": "/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:${PATH}"
    },
    "installsAfter": [
        "ghcr.io/devcontainers/features/common-utils"
    ]
}