VersionNumber ============= You're ready to go! Anywhere in your app, you can use the constant APP_VERSION to give the version of your code. Locally, APP_VERSION will return 'local'. After your next deploy, the APP_VERSION on the server will return the revision reported by your source repository. In your views, you can also use the helper method: <%= app_version %> VersionNumber requires Capistrano 2 as of Rev. 95.