3

I've managed to break bundler! I was messing around in a Rails app and I did something like bundle install string. Now all my gems are being installed into a folder called "string" within the app.

How do I reset bundler to use the default paths for my rvm gemsets?

Another post here suggested using bundle install --system, but will this ensure that gems are installed into gemsets?

I have checked rvm info and the GEM_HOME and GEM_PATH appear to point to the correct rvm/ gemset directories. So I'm confused as to why gems are not being installed to the correct location.

Sorry if this is a basic question, I'm still trying to understand how all this works. Thanks for any pointers.

Andy Harvey
  • 12,333
  • 17
  • 93
  • 185

1 Answers1

8

you need to rm -rf .bundle within your app

mikdiet
  • 9,859
  • 8
  • 59
  • 68
  • 1
    thanks, this appears to have worked. I also ran `bundle install --system` and this did not appear to break rvm gem paths. – Andy Harvey Apr 01 '12 at 04:44