I am a Sr. Software Developer at Oracle Cloud. The opinions expressed here are my own and not necessarily those of my employer.

What app version are you running?

Jul 1, 2016

How do you know which specific version of your code is running on each server? Even with automated deployment tools (chef, capistrano, puppet) it’s easy to make a mistake and deploy the wrong code. And then you are wondering why the new feature is not working.

Sometimes you might need to deploy different versions of your code to different servers (perfromance or A/B testing). In larger enterprises you often have dedicated deployment systems where each deploy gets recorded. But I want to browse to a webpage w/in my app and see the git revision / commit message. Here is one simple way do that for Rails apps.