https://toolbelt.heroku.com/linux
wget -qO- https://toolbelt.heroku.com/install.sh | sh
不好使
E: Couldn't find package heroku-toolbelt
gem install heroku foreman
会报依赖一些包,一个个都装上
$ git push heroku master
出现下面的错误
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
解决方法:
$ heroku keys:add ~/.ssh/id_rsa.pub