我正在 Rails 上构建一个新网站,并且能够在本地成功安装新的 Foundation 5 gem。当我将它推送到 Heroku 时,我收到了以下消息:
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using Bundler version 1.3.2
New app detected loading default bundler cache
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 foundation-rails-5.0.0 in any of the sources
Bundler Output: Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Could not find foundation-rails-5.0.0 in any of the sources
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app
从这里我应该去哪里?我这边有什么需要做的吗?或者这是 Heroku 的一端?
最佳答案
gem的前几个版本were yanked .
确保您的 Gemfile 指向 5.0.1.0 或更高版本。
关于ruby-on-rails - Heroku 上的 Rails Foundation 5 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20164274/