Class: GDK::Command::Thin

Inherits:
BaseCommand show all
Defined in:
lib/gdk/command/thin.rb

Overview

Handles ‘gdk thin` command execution

Instance Attribute Summary

Attributes inherited from BaseCommand

#stderr, #stdout

Instance Method Summary collapse

Methods inherited from BaseCommand

#config, #display_help_message, #help, #initialize, #print_help, #print_ready_message, #ready_messages, validate_config?

Constructor Details

This class inherits a constructor from GDK::Command::BaseCommand

Instance Method Details

#run(_args = []) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/gdk/command/thin.rb', line 7

def run(_args = [])
  GDK::Output.puts 'This command is deprecated. Use the following command instead:'
  GDK::Output.puts
  GDK::Output.puts '    gdk stop rails-web && GITLAB_RAILS_RACK_TIMEOUT_ENABLE_LOGGING=false PUMA_SINGLE_MODE=true gdk rails s'

  false
end