我在使用bundle install
时遇到了问题,特别是mysql2 gem。一些答案建议更改构建配置的构建。因此,我执行了此命令
bundle config build.mysql2 --use-system-libraries
。
我该如何撤消?它不能解决我的问题,所以我想还原它。 bundle config
显示以下内容:
build.mysql2
Set for your local app (/Users/{user}/workspace/{appname}/.bundle/config): "--with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include"
Set for the current user (/Users/{user}/.bundle/config): "--use-system-libraries"
谢谢。
请参阅捆绑包配置输出中提到的.bundle / config文件。编辑这些内容以删除不需要的设置,或者如果根本不需要它们,则将其删除。