Skip to content

Instantly share code, notes, and snippets.

@gfrancesco
Last active July 15, 2020 19:40
Show Gist options
  • Save gfrancesco/4363785 to your computer and use it in GitHub Desktop.
Save gfrancesco/4363785 to your computer and use it in GitHub Desktop.
eix-sync
emerge -uDNa --with-bdeps=y world
emerge -a --depclean
revdep-rebuild
## RVM
$ rvm get stable
$ rvm list known
$ rvm upgrade old_ruby-pXXX new_ruby-pXXX
$ rvm reload
$ rvm gemset use global
$ gem update
$ gem cleanup
## RBENV
# cd /usr/local/rbenv
# git pull
# cd plugins/ruby-build
# git pull
$ rbenv versions
$ rbenv install --list
$ rbenv install new_version
$ rbenv global new_version
$ rbenv uninstall old_version
$ gem update
$ gem install bundler
$ gem cleanup # or 'bundle clean'
$ rbenv rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment