add rails12factor gem for heroku
follow heroku's db config
specify ruby version