是否可以更改Passenger Ruby版本而不重新编译? [英] Is it possible to change Passenger Ruby version without recompiling?

查看:207
本文介绍了是否可以更改Passenger Ruby版本而不重新编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将默认的 ruby​​ 命令更改为1.9.2,但乘客保持运行1.8.7



是使用Ruby嵌入的旅客编译?

解决方案

设置Ruby版本将此行添加到您的vhost文件中:

  PassengerRuby / path / to / the / ruby​​ / version / you / want / to / use 
pre>

I tried changing the default ruby command to 1.9.2 but Passenger keeps running 1.8.7

Is Passenger compiled with Ruby embedded?

解决方案

To set the Ruby version add this line to your vhost file:

PassengerRuby /path/to/the/ruby/version/you/want/to/use

这篇关于是否可以更改Passenger Ruby版本而不重新编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆