使用 nginx 安装乘客失败 [英] Passenger installation with nginx fails
问题描述
我在 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
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屋!