部署到heroku时清理bundler缓存 [英] Cleaning up the bundler cache when deploying to heroku

查看:188
本文介绍了部署到heroku时清理bundler缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 清理打开bundler缓存。 
将删除sitemap_generator(2.0.1.pre1)
将删除newrelic_rpm(3.5.5.38)
将删除httparty(0.10.0)
将已删除thor( 0.16.0)
将删除ckeditor(3.7.1)
将删除雾(1.8.0)
将删除耙子(0.9.2.2)
将删除dalli(2.6.0)

(或者我之前部署的任何其他旧版宝石)
如何清理Heroku应用程序中的bundler缓存?
我尝试运行:

  heroku运行包清除 - 强制

但它没有帮助。



任何人都可以告诉我如何清理bundler缓存在Heroku?
或者如果我应该忽略这个消息?

解决方案

这是由于Bundler最近引入的变化。我们(Heroku)需要追踪它为什么认为它运行在 - dry-run 模式并修复它。



同时,这不是有害的,不应该引起任何问题。不幸的是,如果您担心这一点,则无法手动清除缓存。


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 did not help.

Can anyone tell me how to clean the bundler cache in Heroku? Or if I should ignore this message?

解决方案

This is due to a recently-introduced change in Bundler. We (Heroku) need to track down why it thinks it is running in --dry-run mode and fix it.

In the meantime, this is not harmful and shouldn't cause any issues. Unfortunately, there's no way to clear your cache manually if you're worried about it.

这篇关于部署到heroku时清理bundler缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆