diff options
Diffstat (limited to 'config/initializers/console_message.rb')
-rw-r--r-- | config/initializers/console_message.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/config/initializers/console_message.rb b/config/initializers/console_message.rb index 3f98568c500..ccb5dc51f66 100644 --- a/config/initializers/console_message.rb +++ b/config/initializers/console_message.rb @@ -1,28 +1,6 @@ # frozen_string_literal: true -# rubocop:disable Rails/Output if Gitlab::Runtime.console? - # note that this will not print out when using `spring` - justify = 15 - - puts '-' * 80 - puts " Ruby:".ljust(justify) + RUBY_DESCRIPTION - puts " GitLab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision}) #{Gitlab.ee? ? 'EE' : 'FOSS'}" - puts " GitLab Shell:".ljust(justify) + "#{Gitlab::VersionInfo.parse(Gitlab::Shell.version)}" - - if ApplicationRecord.database.exists? - puts " #{ApplicationRecord.database.human_adapter_name}:".ljust(justify) + ApplicationRecord.database.version - - Gitlab.ee do - if Gitlab::Geo.connected? && Gitlab::Geo.enabled? - puts " Geo enabled:".ljust(justify) + 'yes' - puts " Geo server:".ljust(justify) + EE::GeoHelper.current_node_human_status - end - end - end - - puts '-' * 80 - # Stop irb from writing a history file by default. module IrbNoHistory def init_config(*) |