重置捆绑路径?

Shp*_*ord 26 ruby-on-rails bundler

如何将bundler安装路径重置为默认值?

我最初设置它bundle install --path .gems但现在我想将其重置为默认系统位置.

Pro*_*mer 5

对于 2021 年访问此的任何人,上述system标志现已弃用。您必须通过运行以下命令来设置捆绑包配置:`

bundle config set --local system 'true'
Run Code Online (Sandbox Code Playgroud)

然后你运行:

 bundle install
Run Code Online (Sandbox Code Playgroud)

照常。