【问题标题】:Could not use rails 4.2.2 with refinerycms无法将 rails 4.2.2 与 refinerycms 一起使用
【发布时间】:2015-11-30 10:39:27
【问题描述】:
Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    rails (= 4.2.2) ruby depends on
      railties (= 4.2.2) ruby depends on
        actionpack (= 4.2.2) ruby

我正在使用 rails 4.2.2 并且无法在此使用refinerycms,请您帮帮我。

【问题讨论】:

  • 请提供更多信息。此错误未说明冲突的版本(需要更多错误)

标签: ruby-on-rails ruby refinerycms


【解决方案1】:

Refinery CMS 至少需要 Rails 4.2.3。如果您执行以下操作:

gem install rails --version 4.2.5
rails _4.2.5_ new my_app -m http://refinerycms.com/t/3.0.0

这将为您生成一个带有 Rails 4.2.5(当前最新版本)的新应用程序。

如果您已经有一个应用程序,请确保在 Gemfile 中指定 rails 4.2.3 或更高版本并运行:

bundle update

【讨论】:

    猜你喜欢
    • 2013-05-23
    • 1970-01-01
    • 1970-01-01
    • 2015-05-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多