Passenger+Apache2+RubyonRails 安装失败
现在我尝试在 Ubuntu 11.04 上安装 Passenger for RoR。我已经有了 apache2 和 RoR,还安装了乘客 gems。但是当我继续执行这个命令时: sudo 乘客安装 apache2-模块 它说他找不到这个命令。 顺便说一下,命令“乘客”他也不认识。
Now I'm trying to install Passenger for RoR on Ubuntu 11.04. I already have apache2 and RoR, also I installed passenger gems. But when I continue with this command:
sudo passenger-install-apache2-module
it says that he can't find this command.
By the way, command 'passenger' he also don't know.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您安装 Passenger gem 的方式,
passenger-install-apache2-module
文件可能位于几个不同的位置。如果您在 Ubuntu 上使用默认的 1.8.7 ruby 安装,它应该在这里...
在那里您应该找到一个包含您安装的版本的乘客文件夹,例如...
在该文件夹中应该有一个
bin /
目录,其中有passenger-install-apache2-module
如果失败,请确保您使用 sudo 安装了 gem,然后重试。
Depending on how you installed the passenger gem the
passenger-install-apache2-module
file could be in a few different places.If you are using the default 1.8.7 ruby installation on Ubuntu it should be in here...
In there you should find a passenger folder with the version you installed, example...
Within that folder there should be a
bin/
directory, and within there ispassenger-install-apache2-module
Failing that, make sure you installed the gem with sudo and try again.