GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
It's not clear this is the best way to handle it, but it doesn't seem terrible. It came up in using Terraform to set up our dev/test environment: I couldn't get rbenv working smoothly in an automated way, and then realized that we're using Vagrant VMs that are both disposable and specific to the system in question, so we should just use the Ruby we use in production (which we install from apt).
dsl.rb: Add a :system => true option to ensure_gem, to allow use with…
… a system Ruby by using sudo for 'gem install'.
Never mind. =)