在multi_json gem上的gem冲突oa-oauth和fb_graph

时间:2013-01-18 09:47:47

标签: ruby-on-rails rubygems fb-graph

我该如何解决这种冲突?

Bundler could not find compatible versions for gem "multi_json":
  In Gemfile:
    fb_graph (= 2.6.2) ruby depends on
      multi_json (>= 1.3) ruby

    oa-oauth (= 0.3.2) ruby depends on
      multi_json (1.0.4)

我的宝石文件:

# oauth authentication
gem 'oa-oauth', '0.3.2', :require => 'omniauth/oauth'
gem 'oa-openid', '0.3.2'
gem 'fb_graph', '2.6.2'
gem 'twitter', '4.4.4'
gem "koala", '1.6.0'

感谢

1 个答案:

答案 0 :(得分:0)

尝试:在Gemfile中添加gem "multi_json,删除Gemfile.lock文件,然后再次运行bundle