How to get rails, ruby, postgresql, etc software versions dynamically? to display in page footer for example