我在使用rails版本3.2.6构建的现有rails应用程序中添加了gem refinerycms
,~> 2.0.10
,但是当我运行“bundle command”时,我收到此错误:
Bundler could not find compatible versions for gem "jquery-rails":
In Gemfile:
refinerycms-core (>= 0) ruby depends on
jquery-rails (~> 2.0.0) ruby
jquery-rails (2.2.1)
我尝试过以下语法:
git 'git://github.com/resolve/refinerycms.git' do
gem 'refinerycms-core' #You can leave this out if you like. It's a dependency of the other engines.
gem 'refinerycms-dashboard'
gem 'refinerycms-images'
gem 'refinerycms-pages'
gem 'refinerycms-resources'
end
但仍然收到此错误。如何将Refinery CMS
与我现有的rails3.2.6 app集成?
答案 0 :(得分:0)
此版本的Refinery需要Rails 3.2.12 / 3.2.13,并且尚不支持您的jquery-rails版本。请在此处指定符合要求的版本https://rubygems.org/gems/refinerycms-core#runtime_dependencies
答案 1 :(得分:0)
Bundler could not find compatible versions for gem "jquery-rails": In Gemfile:
refinerycms-core (>= 0) ruby depends on
jquery-rails (~> 2.0.0) ruby
jquery-rails (2.2.1)
执行它所说的内容并将其放入Gemfile:
gem 'jquery-rails', '~> 2.0.0'