Skip to content

Instantly share code, notes, and snippets.

@ntamvl
Last active December 26, 2018 03:32
Show Gist options
  • Save ntamvl/72fed7449a16c3d76929f808dc88c60c to your computer and use it in GitHub Desktop.
Save ntamvl/72fed7449a16c3d76929f808dc88c60c to your computer and use it in GitHub Desktop.
Tip upgrade Ruby to new version

First, install latest Ruby Example:

rbenv install 2.6.0
rbenv global 2.6.0
rbenv rehash

After that I redid the following:

gem pristine --all
bundle install
bundle exec spring binstub --all

and now it works fine.

If you use rbenv or nothing instead of RVM, you can uninstall all your gems with

$ for i in `gem list --no-versions`; do gem uninstall -aIx $i; done

If you have a .bundle directory you can delete and reinstall your bundle with

$ rm -rf .bundle && bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment