0
私はWindows上で開発しており、image_optimとimage_optim_packのgemを使用しています。以前は、これらをHerokuにプッシュすることは問題ではなく、すべて正常に解決されました。今、私は新しい警告を取得し、生産が失敗した:私はこれを許可するようにHerokuの上のenv VARを設定しようとしたHeroku Bundler specific_platform true
Unable to use the platform-specific (x86_64-linux) version of image_optim_pack (0.5.0.20170609) because it has different dependencies from the ruby version.
To use the platform-specific version of the gem, run `bundle config specific_platform true` and install again.
remote: Could not find image_optim_pack-0.5.0.20170609 in any of the sources
が、Herokuのが唯一のインストールバンドルのVARSを設定することができますようにそれはそう(例えば--without )、その記事では、ここで私を助けていません:
https://devcenter.heroku.com/articles/bundler-configuration
質問は:どのように私はHerokuの上trueにplatform_specificを設定することができますか?