Specify Ruby version and add rail_12factor for heroku.