不可能在heroku中部署应用程序-它搜索ruby 2.0.0p195



我已经在heroku中使用rails 3.2.13和ruby 2.0.0p0部署了我们的应用程序,没有问题。然而,今天我突然无法部署它。这是日志,看起来我们的项目中唯一的区别是ruby 2.0.0的版本,它正在尝试安装:

Counting objects: 42, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (24/24), done.
Writing objects: 100% (25/25), 3.17 KiB, done.
Total 25 (delta 19), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using Bundler version 1.3.2
       Ruby version change detected. Clearing bundler cache.
       Old: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
       New: ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
       Fetching gem metadata from https://rubygems.org/........
       Fetching gem metadata from https://rubygems.org/..
       Could not find money-rails-0.8.0 in any of the sources
 !
 !     Failed to install gems via Bundler.
 !
 !     Heroku push rejected, failed to compile Ruby/rails app

似乎它找不到money-rails gem(版本0.8.0),但在localhost中工作得很好,直到昨天在heroku中也是如此。我认为它必须与新的ruby版本,因为它是唯一可见的变化,关于宝石…

有人有同样的问题吗?

提前感谢!!

您可能没有更改任何内容,但看起来money-rails的作者已经将0.8.0删除并用0.8.1替换了它。详见http://rubygems.org/gems/money-rails

您必须执行bundle update并提交Gemfile。锁定和重新部署,一切都应该是好的。

最新更新