문제

I'm trying to install Gibon for my rails 3 app. Gibbon needs multi_json 1.3.4, so I set it in my gemfile as following:

Gemfile.rb

# Mail
gem 'multi_json', '1.3.4' # Dependency for gibbon
gem 'gibbon', git: 'git://github.com/amro/gibbon.git'

I got this error while bundling:

Bundle install

Bundler could not find compatible versions for gem "multi_json":
  In Gemfile:
    rails (= 3.1.10) ruby depends on
      multi_json (< 1.3, >= 1.0) ruby

    multi_json (1.3.4)

I don't know what to do now, it seems that it is a rails dependency, and it would probably be bothersome to upgrade rails directly for I got a big app.

도움이 되었습니까?

해결책

I solved the problem by forcefully upgrading to Rails 3.2, and I got rid of the issue.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top