Exception: Nginxtra::Error::NginxDetected

Inherits:
Base
  • Object
show all
Defined in:
lib/nginxtra/error.rb

Overview

Raised when installing and nginx is detected to be installed.

Constant Summary collapse

HEADER =
"It appears nginx is already installed!".freeze
MESSAGE =
"Since /etc/init.d/nginx exists, you might have an existing nginx installation that will conflict with nginxtra.  " \
"If you want to install nginxtra alongside nginx (at your own risk), please include the --ignore-nginx-check option to bypass this check.".freeze

Instance Method Summary collapse

Methods inherited from Base

#output

Constructor Details

#initializeNginxDetected



111
112
113
# File 'lib/nginxtra/error.rb', line 111

def initialize
  super("Uninstall nginx before installing nginxtra", header: HEADER, message: MESSAGE)
end