DevTeam Blog

Upgrading sunspot-rails 1.3.3 to 2.1.1

08 Jan 2015

By Luis Mancilla Ávila

Sunspot-rails gem is an interface between Solr indexing service and Rails. Here you will learn how to upgrade without fear.

Step 1

Remove ./solr directory.

Step 2

Start a solr instance by running sunspot:solr:run task. This will create a new ./solr directory.

Step 3

Quit sunspot:solr:run task and then execute sunspot:solr:start as normally you would do.

comments powered by Disqus