Multi ruby devcontainer setup #2568
Merged
+154
−35
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.
I struggled a lot when switching between rubies to test things out / fix specs etc. so I ended up with a devcontainer setup that allows me to easily switch to a specific ruby version in VS Code.
I figured I could share this here because it may turn out to be useful for others.
The reason why this is based on devcontainers is simple - we support too many rubies that have conflicting dependencies. I could not use rvm or any other Ruby version manager to easily switch between super old crubies or jruby.
Furthermore, I think we could have a nice setup with relay running as a docker service which can really help with figuring things out with envelopes etc.
#skip-changelog