better handle a missing gitlab-shell version
This commit is contained in:
parent
d0d551b072
commit
c5c5f18b93
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ if defined?(Rails::Console)
|
|||
# note that this will not print out when using `spring`
|
||||
justify = 15
|
||||
puts "-------------------------------------------------------------------------------------"
|
||||
puts " Gitlab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision})"
|
||||
puts " Gitlab Shell:".ljust(justify) + Gitlab::Shell.new.version
|
||||
puts " GitLab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision})"
|
||||
puts " GitLab Shell:".ljust(justify) + "#{Gitlab::VersionInfo.parse(Gitlab::Shell.new.version)}"
|
||||
puts " #{Gitlab::Database.adapter_name}:".ljust(justify) + Gitlab::Database.version
|
||||
puts "-------------------------------------------------------------------------------------"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue