rails g sunspot_rails:install rake sunspot:solr:start rake sunspot:reindex