stripe-archive / mosql

MongoDB → PostgreSQL streaming replication
MIT License
1.63k stars 225 forks source link

Unable to resolve dependencies using gem install #91

Closed benjaminaschultz closed 9 years ago

benjaminaschultz commented 9 years ago

When I try to install the mosql gem I get the following error

ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: mosql requires bson (~> 1.10); bson_ext requires bson (~> 1.12.1)

There is also a problem with the mongo requirement which requires bson (~>3.0)

Instead requiring bson_ext (~> 1.10) and mongo (~>1.10.0) ought to fix the issue. I was able to get it up and running by installing

mongo 1.10.0
bson 1.10.2
bson_ext 1.10.0

and building the gem. Don't know if this is cause by ancient repos or what, but figured I'd let some know :)

nelhage commented 9 years ago

I just pushed a 0.4.3 – does that resolve your issue? Our dependencies in the gem are unfortunately sloppy at present :(

benjaminaschultz commented 9 years ago

Yep! That works for me now.