I use this in the rake task:
client = Heroku::Client.new('', 'heroku-api-key') client.rake 'my-app-name', 'db:migrate'
and all i get is
RestClient :: UnprocessableEntity: 422 Unprocessable Entity.
Other commands work, for example
client.ps('my-app-name')
Client.rb uses the hero
rake(app_name, cmd)
so I'm not sure what happened. I see no way to debug the response even when using RESTCLIENT_LOG = stdout.
source share