jqr/heroku_san

Heroku asking for authentication

Closed this issue · 2 comments

When I do rake production console or rake production db:migrate, then heroku is asking me to authenticate.

If I manually do heroku run console or heroku run rake ..., then I am not asked to authenticate.

I was unable to recreate this bug. Sometimes, especially when I'm switching between projects, I need to re-login via heroku login and then things work again. Authentication is via either ENV['HEROKU_API_KEY'] or login (which sets its own key), so it's possible that you have conflicting login keys, too.

Maybe it was just an issue with an older version? Thanks for checking it out. I upgraded the gem and did heroku login and that seemed to fix my issue.