Let\'s say I have a Rails application deployed on Heroku. How can I display these pieces of information in my views?
The reason for this is because when your app is deployed onto the dyno grid to serve requests, it's compiled into a "slug" for fast deployment, and this slug doesn't have the git repo with it anymore.