我已经使用 rails 3.2.13 和 ruby 2.0.0p0 部署了我们的应用程序,在 heroku 中没有问题。但是,今天突然我无法部署它。这是日志,似乎我们项目中唯一的区别是 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中也是如此。我认为它必须与新的红宝石版本一起使用,因为它是关于宝石的唯一可见变化......
有同样问题的人吗?
提前致谢!!