rbenv install -l
rbenv install 2.6.5
rbenv local 2.6.5
gem install bundler
bundle install
- Install with curl
\curl -sSL https://get.rvm.io | bash -s stable
- Source the RVM
source ~/.rvm/scripts/rvm
- Update RVM with
rvm get stable --ruby
- Tell RVM to install new ruby with
rvm install [version_number]
- Change the ruby version in the app's
.ruby-version
file - Change the ruby version in the app's
Gemfile
- Rebuild your gems with
bundle install
- Reload your terminal with
source ~/.bash_profile
- Confirm ruby version changed with
ruby -v
- Ignore unless you manage this aspect of the project
- Change the ruby version in Codeship/Travis
If you receive the message:
You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.
run sudo gcc
, hit Enter
, type q
, type agree
, type Enter
Should be
gem install bundler
.