I have a rails 3.1 app. I am using mongo_mapper, but when I run rake rspec it says: Mongoid is not installed (gem install mongoid) Any idea where this could be coming from. I am using: gem ''machinist'', ''>= 2.0.0.beta2'' gem ''machinist2_mongomapper'', :require => "machinist_mongomapper" gem ''machinist_mongo'', :require => ''machinist/mongo_mapper'', :git => ''https://github.com/nmerouze/machinist_mongo.git'', :branch => ''machinist2'' -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110828/eb3be716/attachment.html>
On Aug 28, 2011, at 1:40 PM, Chris Habgood wrote:> I have a rails 3.1 app. I am using mongo_mapper, but when I run rake rspec it says: > > Mongoid is not installed (gem install mongoid) > > Any idea where this could be coming from. > > I am using: > > gem ''machinist'', ''>= 2.0.0.beta2'' > gem ''machinist2_mongomapper'', :require => "machinist_mongomapper" > gem ''machinist_mongo'', :require => ''machinist/mongo_mapper'', :git => ''https://github.com/nmerouze/machinist_mongo.git'', :branch => ''machinist2''Is this what''s in your Gemfile? What do you get when you type `bundle check`?