Rails 3 app, How to get GIT version and update website?

I am deploying my rails 3 app using capistrano, and I want to get the git version (and date information) and update my website's footer with this.

How can I do this?

9
задан Blankman 1 December 2010 в 22:30
поделиться