Reputation: 1024
I've somehow changed the configuration of bundle install, so it now creates a /vendor/bundle
folder in my rails project, and puts all the gems there.
How can I reset my bundle config, so it installs the gems globally instead?
Upvotes: 0
Views: 1350
Reputation: 77073
Remove the .bundle
directory from your project root and then do a bundle install
instead of the bundle install --path vendor
like previously.
The .bundle/config
file stores the local path for installing gem location, if gems are installed within the app, and bundler
picks up those settings next time onwards by default.
Upvotes: 3