开发者

Reset bundler path?

开发者 https://www.devze.com 2023-03-05 09:30 出处:网络
How can I reset the bundler install path to defa开发者_JAVA技巧ult? I had initially set it with bundle install --path .gems but now I\'d like to reset it to the default system location.bundle install

How can I reset the bundler install path to defa开发者_JAVA技巧ult?

I had initially set it with bundle install --path .gems but now I'd like to reset it to the default system location.


bundle install --system  

Bundler docs

Edit - this command has now been updated!

See @Najmul's answer for the latest version


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消