pimeys/c2dm_on_rails — Issue #5: Dependency on ActiveRecord 
Author: mikebevz
Created: 2011-11-19 21:59:23+00:00
State: open

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
"