开发者

Passenger+Apache2+RubyonRails installation fail

开发者 https://www.devze.com 2023-03-16 08:05 出处:网络
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:开发者_运维百科

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消