mongoid/mongoid — Issue #1751: Incompatibility with newest version of bson_ext?
Author: sambro
Created: 2012-02-22 18:55:28+00:00
State: open

I wasn't sure where to put this bug. Anyway, in the Mongoid documentation it says to use:

````ruby
gem "mongoid", "~> 2.4"
gem "bson_ext", "~> 1.5"
````

If I do a `bundle update` it will update to the newest version of bson_ext which is 1.6.0. With this new version, I get the following error when I try to start up rails server:

````
mongo-1.6.0/lib/mongo/util/logging.rb:34:in 'instrument': undefined method 'level' for # (NoMethodError)
````

But, if I revert back to bson_ext 1.5.2, everything works fine.