1

After having installed my application's gems by executing:

bundle install --without production

Now I want to install the production group gems. However, when I issue:

bundle install

bundle seems to remember the previous setting and none of the production group gems are installed. How can I clean this bundle 'cache' and force it to reinstall all the gems in the Gemfile?

4

1 回答 1

0

最快的选择是简单地删除位于以下位置的捆绑配置文件:

.bundle/config

然后在 Rails 项目中发出命令:

bundle update
bundle install

来源herehere

于 2013-03-10T03:15:09.587 回答