我可以在下载openssl并执行以下命令后安装puma:
gem install -- --with-opt-dir=c:\openssl
然后的问题是,如果我尝试使用捆绑软件更新puma,则它对该目录一无所知。
您可以在Rails Gemfile中指定
-- --with-opt-dir=
吗?
最佳答案
您可以按如下所示在bundle config中指定它:bundle config build.puma --with-opt-dir=your/opt/dir
和bundler会将其传递给gem install。
关于ruby-on-rails - Rails Bundler-在Gemfile中指定with-opt-dir?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29679565/