天道酬勤,学无止境

heroku-san

部署到heroku时清理捆绑程序缓存(Cleaning up the bundler cache when deploying to heroku)

问题 每当我部署到Heroku(使用heroku_san gem的Ruby on Rails应用程序)时,都会显示以下内容: Cleaning up the bundler cache. Would have removed sitemap_generator (2.0.1.pre1) Would have removed newrelic_rpm (3.5.5.38) Would have removed httparty (0.10.0) Would have removed thor (0.16.0) Would have removed ckeditor (3.7.1) Would have removed fog (1.8.0) Would have removed rake (0.9.2.2) Would have removed dalli (2.6.0) (或以前部署中可能拥有的其他任何旧的gem)如何清除Heroku应用程序中的捆绑程序缓存? 我试着跑: heroku run bundle clean --force 但这没有帮助。 谁能告诉我如何在Heroku中清理捆绑程序缓存? 还是我应该忽略此消息? 回答1 这是由于最近对Bundler进行了更改。 我们(Heroku)需要跟踪为什么它认为它以--dry-run模式--dry-run并进行修复。 同时

2021-05-18 03:03:46    分类:技术分享    ruby-on-rails   heroku   bundler   heroku-san

Cleaning up the bundler cache when deploying to heroku

Whenever I'm deploying to Heroku (Ruby on Rails app using the heroku_san gem) it says the following: Cleaning up the bundler cache. Would have removed sitemap_generator (2.0.1.pre1) Would have removed newrelic_rpm (3.5.5.38) Would have removed httparty (0.10.0) Would have removed thor (0.16.0) Would have removed ckeditor (3.7.1) Would have removed fog (1.8.0) Would have removed rake (0.9.2.2) Would have removed dalli (2.6.0) (or any other old gem I might have from previous deployments) How can I clean the bundler cache in the Heroku app? I tried to run: heroku run bundle clean --force but it

2021-04-24 03:21:43    分类:问答    ruby-on-rails   heroku   bundler   heroku-san