Sunspot, Solr and Rails 3
Updated my old Rails project to Rails 3.2.10 (deployed on Heroku using WebSolr) then I suddenly got some rake issues starting Solr locally (development mode). Went around Google for some time and ended up with this setup:
Gemfile
gem 'sunspotrails', '~> 1.3.0'
group :development do
gem 'sunspotsolr', :git => 'git://github.com/sunspot/sunspot.git'
end
And added the line below on the Rakefile
require 'sunspot/rails/tasks'
Written by Chard Gonzales
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails 3
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#