Last active
January 18, 2016 07:54
-
-
Save sachin21/aafb756d7d76f9c626e8 to your computer and use it in GitHub Desktop.
全てのgemをアンインストールする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem list --no-versions | grep "^[a-z]" | grep bunlder -v | grep test-unit -v | grep rdoc -v | grep rake -v | grep psych -v | grep io-console -v | grep json -v | grep bigdecimal -v | grep minitest -v | xargs gem uninstall -aIx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用rubyバージョンは割りと低いので全ての2系バージョンで動くかわかりませんのでgrep -vを修正して頂けると。