"If something is painful, do it more often."
- 2.1.5: Nov 13 2014
I am using chruby and ruby-install.
ruby-install ruby ruby-2.1.5
chruby 2.1.5
Don't forget you're basically starting from scratch here. All of your 'global' gems will be gone now. At the very least, do:
gem install bundler
You can clean up old rubies in ~/.rubies
.
Edit the ruby version hints in the following files:
.ruby-version
Gemfile
Run bundle
. Since gems belong to a specific ruby version, they all have to be re-downloaded (ugh).
For servers built via jbinto/ubuntu-ansible-rails-server, edit the following files:
vars/defaults.yml
Run ag 2.1.3
(or the current version number) to double check.
Re-deploy your applications with hints to use 2.1.5.
You will have to restart nginx manually via ssh (TODO FIXME).