LoginSignup
26
25

More than 5 years have passed since last update.

Ruby2.0でgemを全てアンインストールする

Last updated at Posted at 2013-11-23
gem uninstall -axI `gem list --no-versions`
ERROR:  While executing gem ... (Gem::InstallError)
    gem "test-unit" cannot be uninstalled because it is a default gem

って怒られてできなかったからメモ

gem uninstall -axI `gem list --no-versions | egrep -v 'test-unit|rdoc|bigdecimal|io-console|json|minitest|psych|rake'`

参考

Uninstall all installed (non-default) gems.

26
25
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
26
25