问题
SomeController#update (RestClient::ResourceNotFound) "Resource Not Found"
I'm receiving this error (where previously I was not) while trying to enqueue delayed jobs using the autoscale branch of DelayedJob. This does not occur with a none autoscale branch but I'm at a loss to pinpoint what the problem is.
If anyone is experiencing the same or can point me toward a likely cause I'd be grateful for advice.
回答1:
Just a guess...
Is it possible the ResourceNotFound is occurring because the heroku gem cannot find your app when making the API requests to auto-scale? Try using the heroku gem outside your app and make sure you can do operations on your app from within an IRB console with the gem loaded (not Heroku console).
来源:https://stackoverflow.com/questions/3654509/heroku-delayed-job-autoscale-branch-restclientresourcenotfound