【问题标题】:Railties gem compatibly issue - sorry I am new to Rails and RubyRailties gem 兼容问题 - 对不起,我是 Rails 和 Ruby 的新手
【发布时间】:2012-06-16 20:08:39
【问题描述】:

推送到 Heroku 时出现以下捆绑程序错误

Fetching gem metadata from https://rubygems.org/.........
 Bundler could not find compatible versions for gem "railties":
In Gemfile:
            rails (= 3.2.1) ruby depends on
             railties (= 3.2.1) ruby
               jquery-rails (= 2.0.0) ruby depends on
                  railties (3.2.6)

【问题讨论】:

  • 您的Gemfile 中有railties 的行吗?
  • 从 Gemfile 中移除 jquery-rails 版本依赖,或者更新它以兼容 rails 3.2.1

标签: ruby-on-rails heroku bundler


【解决方案1】:

我遇到了同样的问题,所以我查看了 jquery-rails gem,发现它已经更新到 2.0.2 版。我将我的 Gemfile 更新到该版本并再次运行 bundle install 并且一切正常。当然,提交您的 Gemfile,以便更新也被推送到 Heroku。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-06-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多