metasoarous
metasoarous

Reputation: 2943

Getting "Unable to load plugin herokgit" when trying to use heroku

Has anyone ever gotten this error or know what it relates to? I got absolutely nothing doing a google search. Not able to use heroku right now as a result - basically any heroku command I enter at prompt gives me this error

ERROR: Unable to load plugin herogit: undefined method `get_credentials' for class `Heroku::Command::Auth'

I'm using ruby 1.9.2 and the heroku-gem 2.3.6 on Ubuntu 11.04 (Natty). This is probably the first time I've had to use heroku since having upgraded. I was surely using it without issue on 10.10, but I might have just forgotten to set something up. That I'm not finding anything online about this error is weird though.

Upvotes: 1

Views: 89

Answers (2)

metasoarous
metasoarous

Reputation: 2943

After talking with the folks at Heroku, they suggested uninstalling the herogit plugin to see if things worked. Doing so resulted in the error above going away, but I realized that I still couldn't turn the maintenance mode off and was getting a permission denied message. I'm pretty sure that the permission denied message was the same as I was getting when the error was still showing itself.

Eventually I realized that I was using the remote name instead of the actual app name when passing to the --app flag (I have a stage and a production deployment). Because the error message mentioned credentials, I failed to realize that the issue that was actually preventing me from using the heroku CLI was unrelated to the herogit plugin. I'm still not sure why the herogit plugin stopped working after switching systems, but don't really care that much at this point.

Upvotes: 1

John Beynon
John Beynon

Reputation: 37507

I think the problem will be with the plugin and not with Heroku

Upvotes: 0

Related Questions