Let\'s say I have a Rails application deployed on Heroku. How can I display these pieces of information in my views?
I think you need to config.gem 'grit' into your Rails app in order to be able to create the Repo object.
You can read about grit here http://github.com/mojombo/grit/