Permalink
Browse files

Specify ignored gems

  • Loading branch information...
1 parent 7f12cbc commit 3cc2ac1a4aa517ba63f2e57939fad0e29ae4757e @naoty committed Dec 4, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 gem_uninstall_all
View
@@ -3,5 +3,6 @@
gem_list = `gem list --no-versions`
gem_list.each_line do |line|
next if line.empty? || /LOCAL GEMS/ =~ line
+ next if ARGV.any? { |arg| line.include?(arg) }
system "gem uninstall -axI #{line}"
end

0 comments on commit 3cc2ac1

Please sign in to comment.