Skip to content

Instantly share code, notes, and snippets.

@mariovisic
Last active December 15, 2015 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariovisic/5298397 to your computer and use it in GitHub Desktop.
Save mariovisic/5298397 to your computer and use it in GitHub Desktop.
Heroku toolbelt in a project with the heroku CLI gem
mario:~/Work/microlancer (master) $ heroku --version
heroku-toolbelt/2.36.1 (x86_64-darwin12.2.0) ruby/2.0.0
mario:~/Work/microlancer (master) $ gem list | grep heroku
heroku-api (0.3.9)
# Login says it was successful but then I cannot run commands
mario:~/Work/microlancer (master) $ heroku login
Authentication successful.
mario:~/Work/microlancer (master) $ heroku run console --app microlancer
Running `console` attached to terminal... Authentication failure
# Heroku commmands work fine when the heroku-cli gem isn't around to get in the way.
mario:~ $ cd ~
mario:~ $ heroku run console --app microlancer
Running `console` attached to terminal... up, run.6745
cat ~/.netrc
machine api.heroku.com
login mario@mariovisic.com
password <super secret password is here>
machine code.heroku.com
login mario@mariovisic.com
password <super secret password is here>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment