Sunspot Solr doesn't start on my Windows box

bundle exec rake sunspot:solr:start 
That's the command to start solr. It failed miserably on  my windows box throwing the following error.
This command is not supported on i386-mingw32. Use rake sunspot:solr:run to run Solr in the foreground.
Wait. Isn't that what I did?! That's just a confusing error message.

This problem is because of Sunspot solr version 2.2. Remove the gem and reinstall version 2.1.

So I updated my Gemfile to
gem 'sunspot_rails', '2.1.0'
gem 'sunspot_solr', '2.1.0' 
And it works! 

Related Posts

No comments :

Post a Comment