Commit 36982a7b authored by Nick Thomas's avatar Nick Thomas

Merge branch 'mk/console-ruby-version' into 'master'

Print current Ruby version in console greeting

See merge request gitlab-org/gitlab!45370
parents 32a279fb ea92dd3c
---
title: Print Ruby version in console greeting
merge_request: 45370
author:
type: other
...@@ -4,6 +4,7 @@ if Gitlab::Runtime.console? ...@@ -4,6 +4,7 @@ if Gitlab::Runtime.console?
justify = 15 justify = 15
puts '-' * 80 puts '-' * 80
puts " Ruby:".ljust(justify) + RUBY_DESCRIPTION
puts " GitLab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision}) #{Gitlab.ee? ? 'EE' : 'FOSS'}" puts " GitLab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision}) #{Gitlab.ee? ? 'EE' : 'FOSS'}"
puts " GitLab Shell:".ljust(justify) + "#{Gitlab::VersionInfo.parse(Gitlab::Shell.version)}" puts " GitLab Shell:".ljust(justify) + "#{Gitlab::VersionInfo.parse(Gitlab::Shell.version)}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment