您如何撤消捆绑安装-没有 [英] How do you undo bundle install --without

查看:58
本文介绍了您如何撤消捆绑安装-没有的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您如何撤消运行

bundle install --without development

现在,我在开发组中有被忽略的gem,因为我只运行了一次...(请注意,我尝试删除gemfile.lock到无效)

Right now, I have gems in the development group that are being ignored because I ran this once... (note that I have tried deleting gemfile.lock to no avail)

推荐答案

更新后的正确答案是@caspyin,此处

The updated, correct answer is @caspyin's, here.

出于历史目的,我的答案仍然在这里:

My answer is still here for historical purposes:

捆绑程序设置存储在名为 .bundle / config 的文件中。您可以通过删除
来重置它,或删除整个 .bundle 目录,像这样的

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

如果您害怕 rm -rf (没关系,很多人都可以):

Or, if you're scared of rm -rf (it's OK, many people are):

rm .bundle/config
rmdir .bundle


这篇关于您如何撤消捆绑安装-没有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆