6

错误

Bundler could not find compatible versions for gem "multi_json":
  In Gemfile:
    community_engine (>= 0) ruby depends on
      multi_json (~> 1.0.0) ruby

    uglifier (>= 1.0.3) ruby depends on
      multi_json (1.3.6)

宝石文件

gem 'rails', '3.2.6'
gem 'sqlite3'
gem 'json'
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
gem 'community_engine', :github => 'bborn/communityengine', :branch => 'rails3'

怀疑

尽管遵循社区引擎自述文件中的所有说明,但总是给出相同的错误

4

1 回答 1

5

加入gem "multi_json"Gemfile

删除 Gemfile.lock 文件

然后运行bundle install

这帮助我克服了上述错误。

于 2012-07-17T13:59:33.303 回答