0
我想要使用Bundler安装旧版本的Puma宝石。根据this comment in GitHub,我可以确定它需要--with-opt-include=/usr/local/opt/openssl/include
才能工作。为特定版本的宝石设置Bundler配置
我想每次安装这个宝石时使用该选项。我知道我可以把它添加到bundle config
...
bundle config build.puma -- --with-opt-include=/usr/local/opt/openssl/include
...但我只希望这适用于彪马v2.9.0。那可能吗?
第一个仍需要_me_记住这样做,这是我试图避免 - 但一个调整创业板路径,第二个似乎工作完美。这里是通用版本:''''''''''''''''''''''''''''''''''这里是通用版本:'bundle config build.puma $(dirname $(dirname $(gem which puma))) - --with-opt-include =/usr/local/opt/openssl/include' – PJSCopeland
事实上,因为我使用的是RVM,并且gem安装在特定的Ruby文件夹内,所以应该将其限制为该版本的Ruby以及:) – PJSCopeland