passengr-install-apache2-module error

292 views
Skip to first unread message

川村慎太郎

unread,
Dec 11, 2015, 4:10:39 AM12/11/15
to Phusion Passenger Discussions
good afternoon. Please let questions aboutpassengr-install-apache2-module the error.

I install passenger this command "gem install passenger"

next,I install passenger as a module.

 I set next command "passengr-install-apache2-module "

but I have this error 
==================================================================
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>'
===================================================================

So ,I Comment out phusion_passenger.rb:250.

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.
==================================================================


How to avoid errors if you, what can be installed? 

Daniel Knoppel

unread,
Dec 11, 2015, 8:46:38 AM12/11/15
to Phusion Passenger Discussions
If you're trying to install passenger on Windows, that won't work. See:

Hongli Lai

unread,
Dec 11, 2015, 8:46:45 AM12/11/15
to phusion-passenger

Passenger does not support Windows.

Sent from my Android phone.

--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phusion-passen...@googlegroups.com.
To post to this group, send email to phusion-...@googlegroups.com.
Visit this group at http://groups.google.com/group/phusion-passenger.
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/f33a41b7-c54f-43a0-9a7f-e83c625e0df6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

川村慎太郎

unread,
Dec 11, 2015, 9:06:23 AM12/11/15
to Phusion Passenger Discussions
Thankyou for your reply.

As you say,I use windows.

I'll try  dual-boot.

Thnak you.

2015年12月11日金曜日 22時46分38秒 UTC+9 Daniel Knoppel:

川村慎太郎

unread,
Dec 11, 2015, 9:08:14 AM12/11/15
to Phusion Passenger Discussions, hon...@phusion.nl
Thank you for your reply.

I try dhualboot.

Thankyou.

2015年12月11日金曜日 22時46分45秒 UTC+9 Hongli Lai:
Reply all
Reply to author
Forward
0 new messages