Incidentally changed where my gems are set

When starting the bundle, I usually print:

bundle install

However, after that, I accidentally added another line, turning it into:

bundle install foobar

Now all my gems are set to ./foobar. Even if I try to run bundle installwithout the third parameter, my gems will be set to again. / foobar. It seems that I can not find any help in solving this issue, and I'm not sure if this is the effect of the bundle, rvm, etc.

How can I fix this?

+3
source share
1 answer

I thought about it and thought that I would share with those who are still faced with this. He created a configuration file in the current way in .bundle/configwhich contained the line: BUNDLE_PATH: foobar.

, :

rm -rf .bundle
+2

All Articles