Search code examples
macosherokuheroku-toolbelt

Heroku CLI error - "cli.Spinner is not a function"


I am getting the following message when I try to load a rails console in heroku:

→ heroku run rails console -a myapp ▸ cli.Spinner is not a function

Output from checking heroku version:

→ heroku --version heroku-toolbelt/3.42.47 (x86_64-darwin10.8.0) ruby/1.9.3 heroku-cli/4.29.3-7996295 (amd64-darwin) go1.6 === Installed Plugins [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] heroku-pg-extras [email protected] [email protected] [email protected] [email protected]

It has worked for me in the past but now I get this error. I've reinstalled the Heroku CLI using both the Heroku provided package and with brew install heroku. I am able to use the CLI for logs with heroku logs -a myapp. Any thoughts about what might be the issue?


Solution

  • You can fix this by removing your ~/.heroku directory and running heroku update. If you have manually installed plugins you will have to manually reinstall them.