Passenger+Apache2+RubyonRails 安装失败

发布于 2024-11-18 00:00:36 字数 147 浏览 1 评论 0原文

现在我尝试在 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技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

才能让你更想念 2024-11-25 00:00:36

根据您安装 Passenger gem 的方式,passenger-install-apache2-module 文件可能位于几个不同的位置。

如果您在 Ubuntu 上使用默认的 1.8.7 ruby​​ 安装,它应该在这里...

/usr/local/lib/ruby/gems/1.8/gems/

在那里您应该找到一个包含您安装的版本的乘客文件夹,例如...

/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.5

在该文件夹中应该有一个 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...

/usr/local/lib/ruby/gems/1.8/gems/

In there you should find a passenger folder with the version you installed, example...

/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.5

Within that folder there should be a bin/ directory, and within there is passenger-install-apache2-module

Failing that, make sure you installed the gem with sudo and try again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文