git

Displaying git information in Rails

Here is a code snippet that placed within an initializer (for example, in  git_info.rb  at /config/initializers path) can print in your app useful info about the current version of your