Vanity, Rails 3 and Heroku
问题 I'm trying to get Vanity to play nicely with Heroku and my Rails 3 app. At the moment, it all works fine locally using Pow and a local Redis server, but when I push to Heroku using the RedisToGo add-on, nothing seems to get the server running, I just get the error: getaddrinfo: Name or service not known . Here's my config/vanity.yml file: staging: adapter: redis host: <%= ENV["REDISTOGO_URL"] %> and my config/initializers/redis.rb: uri = URI.parse(ENV["REDISTOGO_URL"]) REDIS = Redis.new(:host