In Gitlab Omnibus installation, inside the /etc/gitlab/gitlab.rb
configuration script, how can I detect the current version of Gitlab? (I need to enable/disable some features depending on version of Gitlab.)
edit: Please note I need this check to work specifically from inside gitlab.rb script! The answers described in How to check the version of Gitlab? are not clearly appropriate for this question out of the box. At least not without some highly non-obvious to me adaptation. If you can demonstrate how any of those applies, please show it explicitly, I can't see such a way myself.