سؤال

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