Last active
January 7, 2016 18:03
-
-
Save scmx/b07361dd3071669320a7 to your computer and use it in GitHub Desktop.
Adding a new ruby version to a server with rbenv
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
ssh deploy@some-server | |
# Upgrade ruby-build (So it knows about the new ruby version and so can fetch it for us) | |
cd ~/.rbenv/plugins/ruby-build | |
git pull | |
# Grab a coffee while downloading ruby | |
rbenv install 2.2.4 | |
# Make sure bundle command is available | |
gem install bundler | |
# Ready to deploy something with capistrano |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment