[英]Passenger 3 with RVM and Ruby 1.9.2
I'm up to install Passenger 3 with Ruby 1.9.2. 我要用Ruby 1.9.2安装Passenger 3。
I configured RVM with Ruby 1.9.2 - ruby -v
returns 1.9.2 - so far so good. 我用Ruby 1.9.2配置了RVM -
ruby -v
返回1.9.2 - 到目前为止一直很好。
Then I installed the passenger gem again to have it for RVM. 然后我再次安装了乘客宝石,让它用于RVM。
After this I run passenger-install-apache2-module. 在此之后我运行了passenger-install-apache2-module。
But this setup is using ruby 1.8.7, even though I let RVM use 1.9.2 as default and are currently using 1.9.2 with RVM. 但是这个设置是使用ruby 1.8.7,即使我让RVM使用1.9.2作为默认值,并且当前正在使用1.9.2和RVM。
How to let the passenger-apache2-script use 1.9.2 headers and install it into the rvm dir? 如何让passenger-apache2-script使用1.9.2头文件并将其安装到rvm目录中?
Yours, 此致,
Joern. Joern。
This page might useful for you. 此页面可能对您有用。
http://rvm.io/integration/passenger/ http://rvm.io/integration/passenger/
Check with which passenger-install-apache2-module
whether the right binary is being used. 检查
which passenger-install-apache2-module
是否正在使用正确的二进制文件。 If that's okay, check the shebang line (the first line) of passenger-install-apache2-module
is using the right ruby. 如果没关系,请检查
passenger-install-apache2-module
的shebang line(第一行)是否使用了正确的ruby。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.