是否可以更改Passenger Ruby版本而不重新编译? [英] Is it possible to change Passenger Ruby version without recompiling?
本文介绍了是否可以更改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.7Is 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屋!
查看全文