jugyo/sunspot_mongoid — Issue #15: If you are getting "uninitialized constant ActiveRecord"
Author: barmstrong
Created: 2011-11-08 04:22:01+00:00
State: open

This fork worked for me:

https://github.com/TV4/sunspot_mongoid

Here is the error I was getting:

rake sunspot:reindex
WARNING: 'task :t, arg, :needs => [deps]' is deprecated. Please use 'task :t, [args] => [deps]' instead.
at /Users/barmstrong/.rvm/gems/ruby-1.9.2-p180@ribbot/gems/sunspot_rails-1.2.1/lib/sunspot/rails/tasks.rb:41:in `block in '
rake aborted!
uninitialized constant ActiveRecord