mongodb - ruby gem mongo depend on bson1.10.12 -
i in trouble situation above, bson version 2.2, mongo gem depends on bson 1.10.12 only. why mongo depend on bson 1.10.12 only? why can't compatible upwards? need help, thx.
mongo depend on bson 1.10.12 only: https://rubygems.org/gems/mongo
the bson
gem version numbers follow semantic versioning, see http://semver.org/ - bson 2.x not backwards compatible bson 1.x. mongo 1.x gem depends on bson 1.x. mongo 2.x gem specify dependency on bson 2.x when released.
so if using mongo gem version 1.x, have use bson 1.x specified in gem dependency, can't use bson 2.x. there reason must use bson 2.x program?
Comments
Post a Comment