This gem employs solution provided by Andrew Evans.
Rails 3 only gem.
Add this line to your application's Gemfile:
gem 'sunspot_resque'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sunspot_resque
After adding this gem to the Gemfile
your Sunspot.session
will be automatically proxied.
It's disabled though for all rake tasks as it's what you'd want in most cases.
In all others you can use DISABLE_SUNSPOT_RESQUE
ENV variable to false
.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Sijawusz Pur Rahnama
- Andrew Evans