138
134

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

インストールされている gem を全て削除する。

Last updated at Posted at 2012-03-16
  1. gem list でリストを表示し、
  2. cut -d" " -f1 で名前を抽出し、
  3. それを gem uninstall に投げる。

を下記で実行できる。

gem list | cut -d" " -f1 | xargs gem uninstall -aIx
138
134
3

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
138
134

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?