patcito / shapado

The official repo is now here: https://github.com/ricodigo/shapado, please follow it there. Free and open source Q&A software, open source stackoverflow style app written in ruby, rails, mongomapper and mongodb.
http://shapado.com
205 stars 163 forks source link

rake bootstrap fails with "uninitialized constant MongoMapper::Plugins::Clone::ClassMethods" #2

Closed pius closed 14 years ago

pius commented 14 years ago

The title really says it all. Followed the instructions in the Readme and got that error. The line that's causing it is line 2 of the Ad model, which is just including MongoMapper::Document.

patcito commented 14 years ago

make sure you have the latest version of mongo_mapper and mongomapper_ext

pius commented 14 years ago

I have both the latest (0.7.1, 0.1.5, respectively) and the versions required in environment.rb (0.7.0 and again 0.1.5, respectively). I'm on Ruby 1.9.1, perhaps that has something to do with it?

I googled around a bit and noticed that others seem to be having this problem as well. Any tips for me?

Thanks, Pius

patcito commented 14 years ago

Shapado only works on 1.8.7. Use RVM http://rvm.beginrescueend.com/

patcito commented 14 years ago

Welcome.

epoch commented 14 years ago

just wondering roughly what part of shapado doesn't work with 1.9.1?

patcito commented 14 years ago

We haven't tested yet on 1.9.1 but we know it doesn't work.