-
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:ineach'
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:inrequire'
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:inrequire'
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:inrequire'
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:inrequire'
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
"