I just installed Ruby 2.5.0, which was released this past Christmas (Dec 25 2017). All in all, it took about 13 minutes with no bumps in the road. Pretty great!
I only need it for the work repo, but I'm happy to have it, too. I also wasn't too sure how to go about it, and said, "Well here goes."
git pull upstream master
# pulled from repo with new Ruby version set
rbenv install 2.5.0
#=> ruby-build: definition not found: 2.5.0
#
# The following versions contain `2.5.0' in the name:
# 2.5.0-dev
# rbx-2.5.0
#
# See all available versions with `rbenv install --list'.
#
# If the version you need is missing, try upgrading ruby-build:
#
# brew update && brew upgrade ruby-build
brew update && brew upgrade ruby-build
#=> completed with no errors
rbenv install 2.5.0
#=> Installed ruby-2.5.0
rbenv global 2.5.0
# set Ruby version for the whole machine
ruby -v
#=> ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin16]
bundle install
#=> rbenv: bundle install: command not found
# The `bundle install' command exists in these Ruby versions:
# 2.3.4
gem install bundler
# 1 gem installed
bundle
# install all gems to new Ruby version needed for repo
And that was it! Well, just for good measure, I migrated:
bin/rails db:migrate
Hope it's as easy for you!

Oldest comments (7)
Same over here!
Best new feature is rescueing out of do-end blocks 😍 And of course yield_self 👌
Yeah,that's an awesome feature!
Thank you. Your post help me to resolve a problem in ruby on rails course
Awesome!
By the way, I have another problems when trying to install older version of ruby. It turn out that older versions below
2.4.xneed legacyopensslversion1.0.x.I am running at
opensuse tumbleweedwhich most packages needopenssl 1.1.x. I have tried to do bleeding edge by putlibopenssl-1.0.x.sodirectly in/usr/lib, butrbenvkeeps complaining when i want to installruby 2.2.x.Can you help me resolve this problem?
Ah sorry, just seeing this now... Guessing you don't need help anymore right?
Thanks!