Search code examples
ruby-on-railsomniauthfacebooker2

RoR omniauth and facebooker2


In a new application Rails 3.1 with only in Gemfile:

gem "omniauth" gem "facebooker2"

bundle install give the error:

Bundler could not find compatible versions for gem "hashie": In Gemfile: facebooker2 (= 0.0.16) ruby depends on hashie (~> 1.1.0) ruby

omniauth (>= 0) ruby depends on
  hashie (1.2.0)

How can I install facebooker2 with omniauth?


Solution

  • The only way I have to solve the problem was to clone the mogli project and update the hashie dependence to 1.2:

    https://github.com/davidsf/mogli/commit/bcee3dd815bab7c8eb68511ee0d7c2da39115e14