So previously when we were setting up Rails we installed Rails, so in today we are going to go over how you would update to the latest Rails release.
This will be a really short article as it and all we need to do its enter the following lines, and we will install Rails 22.214.171.124 (check rubyonrails.org for the latest version).
Once Rails has been updated we will need to tell
rbenv to use to use it by default.
gem install rails -v 126.96.36.199 rbenv rehash # version should be >= Rails 188.8.131.52 rails -v
Not as bad as you thought? Well why make things harder than they need to be. Anyway, as you see running
rails -v we can make sure we are now running the latest Rails version.