SocketError (getaddrinfo: Name or service not known) - Sunspot/Solr Rails development

前端 未结 7 921
轮回少年
轮回少年 2020-12-15 07:15

I have had lots of trouble with deploying my rails 3.0.10 application to Ubuntu 10.04 server with Passenger, Capistrano, nginx and MySQL (and even more trouble with apache2)

相关标签:
7条回答
  • 2020-12-15 08:08

    I added this line

    require 'resolv-replace'

    to my controller file where the error was coming from and it worked for me. Hope it works for you too!

    0 讨论(0)
提交回复
热议问题