0

我试过打字

gem install passenger

我得到的错误是

Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing passenger:
    ERROR: Failed to build gem native extension.

    C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb 
    C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/passenger4.0.17/lib/phusion_passengerrb:177:in `find_location_configuration_file': undefined method `dir' for nil:NilClass (NoMehodError)

    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/passenger-4.0.17/lib/phuson_passenger.rb:78:in `locate_directories'
    from extconf.rb:43:in `<main>'

任何想法?我正在使用红宝石 1.9.3

   ruby 1.9.3p392 (2013-02-22) [i386-mingw32]
4

0 回答 0