Ok, so I have a simple rails application and now i\'m trying to implement sunspot for search capabilities. However, after I\'ve generated the config file with rails g sunspot_ra
For me, there was so much dependency with turn off/restart the computer
(It was not possible to restart) and does not work any thing from above(I am not trying with restart). So, my working solution was
ps aux | grep solr
find solr process ID
kill -9 4313
# for me 4313 was solr process idstart solr on staging rake sunspot:solr:start RAILS_ENV=staging
re-index solr using rake sunspot:solr:reindex RAILS_ENV=staging
That's it.
N.B: Replace environment according your need