can not work with rails 3.0.0.rc2

78 views
Skip to first unread message

LI Daobing

unread,
Aug 25, 2010, 1:45:15 AM8/25/10
to Mongoid
Hello,

mongoid does not works with rails 3.0.0.rc2

$ gem dependency mongoid
Gem mongoid-2.0.0.beta.16
activemodel (= 3.0.0.rc, runtime)
bson (= 1.0.4, runtime)
bson_ext (= 1.0.4, development)
mocha (= 0.9.8, development)
mongo (= 1.0.7, runtime)
rspec (= 2.0.0.beta.19, development)
ruby-debug-wrapper (= 0.0.1, development)
tzinfo (= 0.3.22, runtime)
watchr (= 0.6, development)
will_paginate (~> 3.0.pre, runtime)

Jacques Crocker

unread,
Aug 25, 2010, 1:46:54 AM8/25/10
to mon...@googlegroups.com
We'll try to release a new beta gem ASAP to fix the probem.

In the meantime you can switch bundler over to use the git repo:

gem "mongoid", :git => "http://github.com/mongoid/mongoid.git"

Chris Herring

unread,
Aug 28, 2010, 1:10:12 AM8/28/10
to Mongoid
That doesn't work either, using the git repo for mongoid gives me:

Updating git://github.com/rails/rails.git
Updating git://github.com/mongoid/mongoid.git
Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
mongoid depends on
activemodel (~> 3.0.0)

rails depends on
activemodel (3.1.0.beta)

Brandon Martin

unread,
Aug 28, 2010, 11:19:21 AM8/28/10
to mon...@googlegroups.com

Do not use the git report of rails just mongoid and the rails 3.0 rc2 gem.

--
Brandon Martin | Lead Developer
Zyph | Martin Design Studios, LLC
http://zyphmartin.com

Chris Herring

unread,
Aug 28, 2010, 11:11:50 PM8/28/10
to mon...@googlegroups.com
Thanks.
Reply all
Reply to author
Forward
0 new messages