# Version of rails app

**URL:** <https://www.ruby-forum.com/t/version-of-rails-app/148332>\
**Category:** Rails\
**Created:** [September 11, 2008, 7:51pm UTC](https://www.ruby-forum.com/t/version-of-rails-app/148332 "2008-09-11T19:51:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kodak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/5f9b8f/32.png) [@Kodak](https://www.ruby-forum.com/u/Kodak)\
**Post date:** [September 11, 2008, 7:51pm UTC](https://www.ruby-forum.com/t/version-of-rails-app/148332/1 "2008-09-11T19:51:43Z")

</div>

Hi all,  
I want to ask about ideas of rails app versioning. I got app in  
development and want to know version that client is running. I can  
write some version string in application.html to show version…  
Other idea is to find the newest file (its date) in rails app  
directory - it can mark the “last change” of app - can someone give me  
clues how to do this (find newest filedate in dir incrementally) in  
rails?  
Any other ideas of app versioning? I know that it would be good to  
include revision number from repo like svn…  
BR

---

<div class="post-metadata">

**Author:** ![Kodak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/5f9b8f/32.png) [@Kodak](https://www.ruby-forum.com/u/Kodak)\
**Post date:** [September 12, 2008, 3:45am UTC](https://www.ruby-forum.com/t/version-of-rails-app/148332/2 "2008-09-12T03:45:33Z")

</div>

You could use an SVN keyword to insert the current revision in a file.

Put ‘$Revision$’ in one of your files, then:  
$ svn propset svn:keywords Revision   
to enable expansion of the keyword in your file.

Then, by looking in this file, you can determine which revision is in  
use.

Christian
