Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on ActiveRecord #5

Open
mikebevz opened this issue Nov 19, 2011 · 1 comment
Open

Dependency on ActiveRecord #5

mikebevz opened this issue Nov 19, 2011 · 1 comment

Comments

@mikebevz
Copy link

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
"

@pimeys
Copy link
Owner

pimeys commented 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants