Installs Ruby and a version manager (mise or rbenv) along with the dependencies needed to build Ruby.
"features": {
"ghcr.io/rails/devcontainer/features/ruby:1": {
"version": "3.3.0"
}
}"features": {
"ghcr.io/rails/devcontainer/features/ruby:1": {
"version": "3.3.0",
"versionManager": "rbenv"
}
}"features": {
"ghcr.io/rails/devcontainer/features/ruby:1": {
"version": "3.3.0",
"versionManager": "mise"
}
}| Options Id | Description | Type | Default Value |
|---|---|---|---|
| version | The version of ruby to be installed | string | 4.0.1 |
| versionManager | The version manager to use for Ruby (mise or rbenv) | string | mise |
This Feature should work on recent versions of Debian/Ubuntu-based distributions with the apt package manager installed.
bash is required to execute the install.sh script.