Move pry up in Gemfile
Add rails 12 factor gem for logging on Heroku