getaddrinfo: nodename nor servname provided, or not known

前端 未结 13 1580
梦谈多话
梦谈多话 2020-12-02 12:14

I have a Ruby on Rails application that I am deploying on a computer running Mac OS X 10.6. The code where the problem arises is run by a delayed_job. The problem only occur

相关标签:
13条回答
  • 2020-12-02 12:45

    For me, I had to change a line of code in my local_env.yml to get the rspec tests to run.

    I had originally had:

    REDIS_HOST: 'redis'

    and changed it to:

    REDIS_HOST: 'localhost'

    and the test ran fine.

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