你如何撤消运行
bundle install --without development
现在,我在开发组中有一些被忽略的 gem,因为我运行了一次......(请注意,我曾尝试删除 gemfile.lock 无济于事)
最佳答案
更新后的正确答案是@caspyin's, here .
出于历史目的,我的答案仍然存在:
Bundler settings are stored in a file named
.bundle/config
. You can reset it by removing it, or removing the entire.bundle
directory, like this:rm -rfv .bundle
Or, if you're scared of
rm -rf
(it's OK, many people are):rm .bundle/config rmdir .bundle
关于ruby-on-rails - 你如何撤消 bundle install --without,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9765007/