【发布时间】:2015-04-16 15:37:28
【问题描述】:
我可以在下载 openssl 并执行以下命令后安装 puma:
gem install -- --with-opt-dir=c:\openssl
问题是,如果我尝试使用 bundle 更新 puma,它对这个目录一无所知。
你能在 Rails Gemfile 中指定-- --with-opt-dir= 吗?
【问题讨论】:
标签: ruby-on-rails gemfile puma
我可以在下载 openssl 并执行以下命令后安装 puma:
gem install -- --with-opt-dir=c:\openssl
问题是,如果我尝试使用 bundle 更新 puma,它对这个目录一无所知。
你能在 Rails Gemfile 中指定-- --with-opt-dir= 吗?
【问题讨论】:
标签: ruby-on-rails gemfile puma
您可以在 bundle config 中指定如下:bundle config build.puma --with-opt-dir=your/opt/dir 并且 bundler 会将其传递给 gem install。
【讨论】: