good afternoon. Please let questions aboutpassengr-install-apache2-module the error.
next,I install passenger as a module.
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/src/ruby_supportlib/phus
ion_passenger.rb:250:in `infer_install_spec': undefined method `dir' for nil:Nil
Class (NoMethodError)
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/src/ruby_su
pportlib/phusion_passenger.rb:96:in `locate_directories'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/bin/passeng
er-install-apache2-module:37:in `<top (required)>'
from C:/Ruby22-x64/bin/passenger-install-apache2-module:23:in `load'
from C:/Ruby22-x64/bin/passenger-install-apache2-module:23:in `<main>'
But I failed install. error message is this
Welcome to the Phusion Passenger Apache 2 module installer, v5.0.21.
This installer will guide you through the entire installation process. It
shouldn't take more than 3 minutes in total.
Here's what you can expect from the installation process:
1. The Apache 2 module will be installed for you.
2. You'll learn how to configure Apache.
3. You'll learn how to deploy a Ruby on Rails application.
Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.
Press Enter to continue, or Ctrl-C to abort.
--------------------------------------------
Which languages are you interested in?
Use <space> to select.
If the menu doesn't display correctly, press '!'
--------------------------------------------
*** EXCEPTION: No such file or directory - stty -g (Errno::ENOENT)
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/src/ruby_supportlib/
phusion_passenger/utils/terminal_choice_menu.rb:239:in ``'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/src/ruby_supportlib/
phusion_passenger/utils/terminal_choice_menu.rb:239:in `raw_no_echo_mode'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/src/ruby_supportlib/
phusion_passenger/utils/terminal_choice_menu.rb:69:in `query'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/bin/passenger-instal
l-apache2-module:197:in `query_interested_languages'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/bin/passenger-instal
l-apache2-module:129:in `run_steps'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/src/ruby_supportlib/
phusion_passenger/abstract_installer.rb:74:in `run'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/passenger-5.0.21/bin/passenger-instal
l-apache2-module:952:in `<top (required)>'
C:/Ruby22-x64/bin/passenger-install-apache2-module:23:in `load'
C:/Ruby22-x64/bin/passenger-install-apache2-module:23:in `<main>'
--------------------------------------------
Oops, something went wrong :-(
We're sorry, but it looks like this installer ran into an unexpected problem.
Please visit the following website for support. We'll do our best to help you.
When submitting a support inquiry, please copy and paste the entire installer
output.