Issue 704: Adding enabling and disabling of RBENV and RVM packages#1333
Issue 704: Adding enabling and disabling of RBENV and RVM packages#1333KanishkT123 wants to merge 18 commits intomicrosoft:mainfrom
Conversation
…les added to devcontainer.json
Chuxel
left a comment
There was a problem hiding this comment.
Some comments on initial review.
|
So reviewing this - the changes look good... but one thing that is flummoxing me is it still seems like somehow rvm is getting sourced when I set |
|
Ah - found it. It looks like rvm is installing a file at I suspect this will need to have the same condition added to it. |
I'm not sure exactly how this works. Do you mean modifying the |
|
@KanishkT123 Yeah, that is a reasonable way to handle it I think. I don't think this originally happened but got added somewhere along the way by the rvm installer. |
Work Item ID
Description
Allows for RBENV and RVM tools to be enabled or disabled in the Ruby dev container.
PR Checklist
Does this introduce a breaking change?
Testing
Other information or known dependencies
PR has been reviewed and approved internally by @juzuluag , @bderusha and
@dnastrain
ruby-debian.shscript that modifies thebashrcandzshrcfiles in a devcontainer to allow conditional enabling ofrbenvandrvm.devcontainer.jsonto include two new ENV Variables for built containers:RBENV_ENABLEDandRVM_ENABLEDwhich are read by thebashrcandzshrcto enable/disable RBENV and RVMrbenvandrvminbase.Dockerfilein order to reduce workflow disruption.rbenvandrvmindevcontainer.jsonin order to reduce tooling overhead for devcontainer users.