using procfile and thin like suggested in https://devcenter.heroku.com/articles/rails3