sunspot_rails gem - “ Errno:: ECONNREFUSED (Connection refused - connect (2)) ”

前端 未结 4 710
有刺的猬
有刺的猬 2020-12-30 01:50

I use gem sunspot_rails https://github.com/outoftime/sunspot I did everything according to the instructions on http://railscasts.com/episodes/278-search-with-sunspot, but ge

4条回答
  •  一整个雨季
    2020-12-30 02:27

    Have you started the Solr server?

    rake sunspot:solr:start
    

    If not than start the solr server first

    And If yes than try

    rake sunspot:solr:run
    

    Hope this will help .

提交回复
热议问题