我试图让上帝启动我的resque队列。然而,当我运行god load config/resque.god
返回The server is not available (or you do not have permissions to access it)
上帝没有运行:服务器不可用(或者你没有权限访问它)
这是我resque.god文件:
rails_env = ENV['RAILS_ENV'] || "production"
rails_root = ENV['RAILS_ROOT'] || "/Users/andrewlynch/sites/wellness/wellbot"
God.watch do |w|
w.name = "resque-worker"
w.group = "resque"
w.interval = 60.seconds
w.dir = "#{rails_root}"
w.start = "RAILS_ENV=development QUEUE=* rake resque:work"
w.start_grace = 30.seconds
end