Just keep record of the procedure to deploy heroku
install heroku
heroku gem(deprecated) or toolbelt
123
sudoaptitudeinstallheroku-toolbelt#or for ubuntuwget-qO-https://toolbelt.heroku.com/install-ubuntu.sh|sh
login with credentials
12345678
herokulogin#Enter your Heroku credentials.#Email: adam@example.com#Password:#Could not find an existing public key.#Would you like to generate one? [Yn]#Generating new SSH public key.#Uploading ssh public key /Users/adam/.ssh/id_rsa.pub
create app
123
herokucreateherokurenameherokuhelp
add to git and make a commit
push and deploy
1234
#change Gemfile put sqlite3 to development #add pg to production#if you change Gemfile you need to git commit again otherwise heroku will not knowgitpushherokumaster
if you got error
Permission denied (publickey).
fatal: The remote end hung up unexpectedly