新手问题 装 passenger 执行 passenger-install-nginx-module 报错

nancy · May 26, 2012 · Last by nancy replied at May 26, 2012 · 4488 hits

如题,出现错误信息 Compiling Passenger support files...

/usr/bin/ruby18 -S /usr/bin/rake clean nginx

rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

(See full trace by running task with --trace) 我郁闷了?啥情况?大家帮忙看看

你项目文件中找不到 Rakefile 这句话说的很清楚:

No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

你查一下看是否有这个文件在你的项目中. 或者多给点信息给大家

这个是项目根目录下的文件及文件夹 Gemfile Gemfile.lock README.rdoc Rakefile app config config.ru db dist doc lib log public script test tmp vendor

按照安装说明 Where do you want to install Nginx to?

Please specify a prefix directory [/opt/nginx]: /opt/nginx


Compiling Passenger support files...

/usr/bin/ruby18 -S /usr/bin/rake clean nginx

rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

(See full trace by running task with --trace) 指定 Nginx 安装目录后继续 出现以上错误,没搞明白怎么跟 rake 有关了呢

You need to Sign in before reply, if you don't have an account, please Sign up first.