Skip to content

Dependency on ActiveRecord  #5

@mikebevz

Description

@mikebevz

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
"

Activity

pimeys

pimeys commented on Nov 21, 2011

@pimeys
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @pimeys@mikebevz

        Issue actions

          Dependency on ActiveRecord · Issue #5 · pimeys/c2dm_on_rails