Commit bfbe80f9 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'revert-02ccaf48' into 'master'

Revert "Merge branch 'bw-foss-console-msg' into 'master'"

See merge request gitlab-org/gitlab!23856
parents 07e579ce a09fea21
# rubocop:disable Rails/Output
if defined?(Rails::Console) || Rails.env.development?
# when using `spring` this will only print out the first time
if defined?(Rails::Console)
# note that this will not print out when using `spring`
justify = 15
puts '-' * 80
puts " GitLab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision}) #{Gitlab.ee? ? 'EE' : 'FOSS'}"
puts " GitLab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision})"
puts " GitLab Shell:".ljust(justify) + "#{Gitlab::VersionInfo.parse(Gitlab::Shell.new.version)}"
puts " #{Gitlab::Database.human_adapter_name}:".ljust(justify) + Gitlab::Database.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