Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 844 Bytes

File metadata and controls

36 lines (28 loc) · 844 Bytes

OS Support

This Feature should work on recent versions of Debian/Ubuntu-based distributions with the apt package manager installed.

Changing the Ruby Version

"features": {
    "ghcr.io/rails/devcontainer/features/ruby:1": {
        "version": "3.3.0"
    }
}

Changing the Version Manager

"features": {
    "ghcr.io/rails/devcontainer/features/ruby:1": {
        "versionManager": "rbenv"
    }
}

Opting In to Precompiled Rubies with mise

"features": {
    "ghcr.io/rails/devcontainer/features/ruby:1": {
        "versionManager": "mise",
        "usePrecompiledRubies": true
    }
}

When using mise, this feature keeps ruby.compile=true by default so Ruby is compiled from source. Set usePrecompiledRubies to true to make mise prefer precompiled Rubies when they are available.