heroku / heroku-deploy

36 stars 17 forks source link

Error when running deploy:war from outside a git/heroku app dir #28

Closed legendarylarry closed 9 years ago

legendarylarry commented 10 years ago

If I do this from a working directory that is not a local-git-heroku-app-dir-thing ( what is the proper terminology for a local git repo clone "linked" to a heroku app? ):

heroku deploy:war --account me --app myapp --war ~/path/to/app.war

I get this error:

Uploading /path/to/app.war.... !    undefined method 
`length' for #<Excon::Response:0x00000100912138>

It works fine if I'm in any local-git-heroku-app-dir-thing, even one not related to this app. Other commands work from any working dir, so I expected that this would too. For example this works from anywhere:

heroku logs --app myapp

bug?

jkutner commented 9 years ago

This should be fixed in the latest version of the plugin. Please let us know if it's not.