为什么Heroku总是发现未解决的依赖关系?

4

自从上一次部署以来,我没有安装任何宝石(gem),但是Heroku似乎认为有新的东西需要安装,这显著减慢了我的部署时间。我该如何确保不再收到这个消息?

编辑:

这是我的部署消息,我不知道...这正常吗?

Writing objects: 100% (13/13), 1.88 KiB, done.
Total 13 (delta 10), reused 0 (delta 0)

-----> Heroku receiving push
-----> Rails app detected
-----> Detected Rails is not set to serve static_assets
       Installing rails3_serve_static_assets... done
-----> Gemfile detected, running Bundler version 1.0.7
       Unresolved dependencies detected; Installing...
       Using --without test:development:staging
       Fetching source index for http://rubygems.org/
2个回答

0
$ git add Gemfile.lock
$ git commit -m "We should always check in Gemfile.lock in our applications."
$ git push heroku master

我的 Gemfile.lock 已经提交了,当我提交时,出现了“未检查到更改”的消息。 - picardo
是因为Heroku使用了--without test:development标志吗? - picardo

0

我联系了支持团队,他们解决了这个问题。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接