Setup sunspot solr with rails in production environment

The Sunspot gem includes the sunspot-solr binary. The simplest setup would be just to run sunspot-solr start. Depending on how your application is deployed, you might also include a task in your Capistrano deploy that uses Sunspot’s provided rake task to start a Solr server. Namely, rake sunspot:solr:start RAILS_ENV=production. Getting more in-depth from that could … Read more