UbuntuにHerokuのツールをinstall
apt-add-repository 'deb http://toolbelt.herokuapp.com/ubuntu ./'
curl http://toolbelt.herokuapp.com/apt/release.key | apt-key add -
gpg: 書込み可能な鍵輪が見つかりません: eof
gpg: 「-」の読出しエラー: 一般的なエラー
gpg: import from `-' failed: 一般的なエラー
こんなエラーが発生
sudoをつける。
curl http://toolbelt.herokuapp.com/apt/release.key | sudo apt-key add -
apt-get update
apt-get install heroku-toolbelt