Change ruby feature to use mise by default#86
Merged
Merged
Conversation
This will make easier to add other version managers in the future.
|
@rafaelfranca Any idea how to override mise being used (aka, use rbenv) when using the newer rails devcontainer image in the devcontainer.json - ie, not using the feature, but just the image itself. No way to define this through ENV at all, like there is for RUBY_VERSION: Ideally would be able to define it there, so it can be overriden |
jxjj
added a commit
to UMN-LATIS/z
that referenced
this pull request
Sep 3, 2025
The rails dev container changed their default ruby manager from rbenv to mise in rails/devcontainer#86. This makes the corresponding update to our bashrc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new "Install Ruby on Rails guide" uses mise in the instructions on how to install Ruby on Rails, so it is possible that the current and new generation of Rails developers will be more used with mise than with rbenv.
Our devecontainer should match what our documentation and books are suggesting people to use.
This PR changes the version manager in the ruby feature to use mise but still keep rbenv as an option.
The ruby image will use mise by default.