Skip to content

Instantly share code, notes, and snippets.

Created January 20, 2014 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/8520221 to your computer and use it in GitHub Desktop.
Save anonymous/8520221 to your computer and use it in GitHub Desktop.
Rails 4: RSolr::Error::Http (RSolr::Error::Http - 404 Not Found
1) stopping all running solr processes
2) removing the solr folder BUT keep a copy of it accessible in case you need some of the old config, synonyms and such.
3) gem uninstall all related gems
> for i in `gem list --no-versions`; do gem uninstall -aIx $i; done
4) bundle install
5) rails generate sunspot_rails:install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment