-
Notifications
You must be signed in to change notification settings - Fork 18
Description
I'm using Mongoid, and I have tried to use c2dm_on_rails.
I've got the following error on "rails g"
".../c2dm_on_rails/app/models/c2dm/base.rb:2: uninitialized constant C2dm::ActiveRecord (NameError)
from /Library/Ruby/Gems/1.8/gems/c2dm_on_rails-0.1.8/lib/c2dm_on_rails.rb:2:in require' from /Library/Ruby/Gems/1.8/gems/c2dm_on_rails-0.1.8/lib/c2dm_on_rails.rb:2 from /Library/Ruby/Gems/1.8/gems/c2dm_on_rails-0.1.8/lib/c2dm_on_rails.rb:1:in
each'
from /Library/Ruby/Gems/1.8/gems/c2dm_on_rails-0.1.8/lib/c2dm_on_rails.rb:1
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in require' from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in
require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in each' from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in
require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in each' from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in
require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler.rb:122:in require' from /Users/mikebevz/Documents/jworkspace/RabatMeServer/config/application.rb:13 from /Library/Ruby/Gems/1.8/gems/railties-3.1.2/lib/rails/commands.rb:21:in
require'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.2/lib/rails/commands.rb:21
from script/rails:6:in `require'
from script/rails:6
"
Activity
pimeys commentedon Nov 21, 2011
I'm sorry for so late responses. I think I have so little time for issues and fixes for this gem right now, so the best solution for you might be to fork it your self and start maintaining another version for Mongoid. I don't know about the other maintainer in this repo (jakolehm) and his spare time. The other things this gem needs badly are tests, Ruby 1.9 support and Rails 3 support.