Upgrade Ruby Notes - uclibs/ucrate GitHub Wiki
Steps for installing Ruby without RVM or RBENV
- download the ruby .tar.gz from https://www.ruby-lang.org/en/downloads/
 - uncompress the tarball
 - cd into the uncompressed directory
 - ./configure --prefix=/usr/local
 - make
 - sudo make install
 - test the proper version is in place with ruby -v
 
Steps for installing Ruby with RBENV
- rbenv install version.number
 - See all available versions with 
rbenv install --list-all. - If the version you need is missing, try upgrading ruby-build:
 
git -C /home/apache/.rbenv/plugins/ruby-build pull
- RUBY_CONFIGURE_OPTS="--disable-dtrace" rbenv install version.number
 - test the proper version is in place with ruby -v
 
If bundler give you a problem, manually install gem install bundler:1.17.3 --user-install
To make sure that there are no old versions of ruby installed wipe
- /srv/apps/.gem
 - /srv/apps/.bundle
 - /srv/apps/.cache
 - /srv/apps/scholar_capistrano/shared/vendor/bundle/ruby/2.*