Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Add Subversion Revsions Number to Rails Application. (See related posts)

// description of your code here
Add this to your environment.rb file for a dead easy way to get your subversion revision into your application.

APP_VERSION  = IO.popen("svn info").readlines[4]

You need to create an account or log in to post comments to this site.


Click here to browse all 4834 code snippets

Related Posts