When I run bundle install after adding the omnisocial gem to my gem file, I get this when I have in fact already installed the latest version of the oa-core gem:
Bundler could not find compatible versions for gem "oa-core":
In Gemfile:
omnisocial depends on
oa-core (~> 0.1.2)
omniauth depends on
oa-core (0.2.6)
…
gem install oa-core
Successfully installed oa-core-0.2.6
1 gem installed
Installing ri documentation for oa-core-0.2.6...
Installing RDoc documentation for oa-core-0.2.6...
Do I need to update my version of rails?
The problem is that the
omnisocialgem’s dependencies have not been updated to match the latestoa-corerelease. Bundler will attempt to resolve all the dependencies for all the gems.In this situation,
omnisocialsays it is quite happy with any of the0.1.xreleases (as long as it’s the0.1.2release or one after that) ofoa-core(this is what the~>operator means) butomniauthsays it must have0.2.6. Obviously,0.2.6is not a part of the0.1.xset of releases and so you are getting this error.omnisocial‘s gem dependencies must be upgraded to match the latestoa-coreversion. That is the problem.Alternatively, you could use
omniauthwhich is designed to work with this latest version of theoauthsuite, rather than usingomnisocial.