enabling ensure_gem with system-level Rubies #17

wants to merge 1 commit into


None yet
1 participant

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. =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment