Skip to content

bundle install fails within a ruby devcontainer due to permissions issues #76

Discussion options

You must be logged in to vote

Hi 👋

Can you try adding 👇 at the end of your Dockerfile?

RUN su vscode -c "/usr/local/rvm/bin/rvm fix-permissions"

Then, you should be able to install gems with su vscode -c "gem install <your-gem-names-here>"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AlexChesser
Comment options

Answer selected by AlexChesser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants