John Sanchez
John Sanchez

Categories

  • snippets

Tags

  • snippet
  • RVM
  • ruby

When experimenting in ruby, sometimes I forget to create a Gemset before I install gems. In which case, the Gems accidentally get install in the default gemset.

Eventually, you’ll end up with a ton of unnecessary gems in the default gemset. You can clean it up using the empty command:

rvm gemset empty ""

If you need to clean up another gemset, just add the gemset name in between the qoutation marks. For example:

rvm gemset empty "gemset_name"