How to reset the vendor path

I managed to break the ligament! I was messing around with a Rails application and I did something like bundle install string

. Now all my gems are installed in a folder called "string" in the app.

How do I reset the bundler to use the default paths for my rmm gems?

Another post suggests using bundle install --system

, but will this ensure gems are installed in gemsets?

I checked rvm info

and GEM_HOME and GEM_PATH seem to point to the correct rvm / gemset directories. So I am confused as to why the stones are not set in the right place.

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

+3


source to share


1 answer


you need rm -rf .bundle

in your application



+7


source







All Articles