Exception: Nginxtra::Error::NginxDetected
- 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
-
#initialize ⇒ NginxDetected
constructor
A new instance of NginxDetected.
Methods inherited from Base
Constructor Details
#initialize ⇒ NginxDetected
111 112 113 |
# File 'lib/nginxtra/error.rb', line 111 def initialize super("Uninstall nginx before installing nginxtra", header: HEADER, message: MESSAGE) end |