legendary_rob
legendary_rob

Reputation: 13002

How to remove bundler on a mac

I am getting a whole bunch of these errors:

bundle exec rake db:migrate
/Users/robpaulo/gems/gems/bcrypt-ruby-3.0.1/lib/bcrypt_ext.bundle: [BUG] Segmentation fault
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin10.8.0]

On all my versions of Ruby and I want to see if either my gems are messed or if I have to re-install rbenv. I am running Snow Leopard is there a way to uninstall bundler so that I can re-install it I tried the Bundler website and calling bundle -h in the console, no help there.

Then I tried bundle implode to which bundle laughed maniacally. I also tried bundle uninstall which didn't work.

Upvotes: 15

Views: 39615

Answers (1)

Dave S.
Dave S.

Reputation: 6419

Bundler is just a regular gem, so you'd do:

gem uninstall bundler

If you want to removal all gems so you're back at a clean slate, just do:

gem list | cut -d" " -f1 | xargs gem uninstall -aIx

Upvotes: 32

Related Questions