'Reset bundler path?
How can I reset the bundler install path to default?
I had initially set it with bundle install --path .gems but now I'd like to reset it to the default system location.
Solution 1:[1]
bundle install --system
Edit - this command has now been updated!
See @Najmul's answer for the latest version
Solution 2:[2]
For anyone visiting this in 2021, the above mentioned system flag is now deprecated.
You have to set the bundle config by running: `
bundle config set --local system 'true'
and then you run:
bundle install
as usual.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Peter Nixey |
| Solution 2 | Najmul |
