-
-
Save hesco/c3f3b4cbd89e719d9a1b to your computer and use it in GitHub Desktop.
bundle fails to use rbenv version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rbenv install -l | |
# serverspec requires net-ssh, which depends on ruby >=2.0 | |
rbenv install 2.1.2 | |
rbenv local 2.1.2 | |
gem install bundler | |
rbenv rehash | |
bundle install --path=gems | |
Gem::InstallError: net-ssh requires Ruby version >= 2.0. | |
An error occurred while installing net-ssh (3.0.1), and Bundler cannot continue. | |
Make sure that `gem install net-ssh -v '3.0.1'` succeeds before bundling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment