Heroku command not found

前端 未结 12 1161
北海茫月
北海茫月 2021-02-01 03:06

After installing Heroku Toolbelt, in terminal on Mac when trying to run the following command:

heroku

I get the error:

bash: he         


        
12条回答
  •  耶瑟儿~
    2021-02-01 03:51

    After installing Heroku Toolbelt using the .pkg file I downloaded from Heroku's Getting Started with Rails 4.x on Heroku page, I got the heroku command not found message. My /usr/local/heroku/bin folder did exist.

    I was able to resolve this issue by going to https://toolbelt.heroku.com and downloading the same .pkg file from that site and re-installing it. Note, I did not uninstall the previous package first.

提交回复
热议问题