使用 nginx 安装乘客失败 [英] Passenger installation with nginx fails

查看:52
本文介绍了使用 nginx 安装乘客失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 amd-64 平台上运行 ubuntu 9.10 服务器.一切都非常标准,我在 ruby​​ 1.8 安装上运行了 Sinatra 0.94.我想安装passenger,方便配置ssl.

问题是,它找不到安装程序.

我跑

sudo gem 安装乘客

sudo gem install -r 乘客

然后是下一行,

passenger-install-nginx-module

passenger-install-apache2-module

都失败,因为找不到路径.

这里有什么我忘记了吗?一旦安装了 gem,它不应该直接工作吗?

解决方案

显然,根据

令人沮丧的错误,这就是为什么我留下这个问题而不是删除它(而且,通过投票,我认为我不是唯一一个遇到问题的人).

I'm running an ubuntu 9.10 server on an amd-64 platform. Everything's pretty much standard, and I've got Sinatra 0.94 running on a ruby 1.8 installation. I want to install passenger in order to easily configure ssl.

The problem is, it fails to find the installer.

I run

sudo gem install passenger

or

sudo gem install -r passenger

and then the next line,

passenger-install-nginx-module

or

passenger-install-apache2-module

both fail because the path isn't found.

Is there something I'm forgetting here? Shouldn't it just work, straight up, once the gem is installed?

解决方案

apparently, the gem is installed in a place that's off the path, according to

http://groups.google.com/group/phusion-passenger/browse_thread/thread/78ca12c4838034a6/b5a3c7a00a871283?lnk=gst&q=ubuntu+9.10#b5a3c7a00a871283

Frustrating error, which is why I leave this question rather than delete it (and, with the upvote, I think I'm not the only one with the problem).

这篇关于使用 nginx 安装乘客失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆