Skip to content

Conversation

@rafaelfranca
Copy link
Member

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.

Copilot

This comment was marked as resolved.

This will make easier to add other version managers in the future.
@rafaelfranca rafaelfranca merged commit 0c8f764 into main Jun 6, 2025
22 checks passed
@rafaelfranca rafaelfranca deleted the rm-mise branch June 6, 2025 20:54
@guilhermedsz
Copy link

guilhermedsz commented Jul 11, 2025

@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:

"version": "${localEnv:RUBY_VERSION}"

Ideally would be able to define it there, so it can be overriden

"versionManager": "${localEnv:RB_VERSION_MANAGER:mise}"

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants