[英]Rails Bundler - specify with-opt-dir in Gemfile?
我可以在下載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。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.