Phusion的乘客使用Ruby 1.8和1.9? [英] Phusion Passenger with Ruby 1.8 and 1.9?

查看:145
本文介绍了Phusion的乘客使用Ruby 1.8和1.9?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么会去使用Ruby 1.8.x的另一个使用Ruby 1.9.x的运行与一个使用的Phusion客运两个独立的Rails应用程序?我运行管理平台这是不红宝石1.9.x的兼容,而其它应用程序是一个家成年应用

How would I go about running two separate Rails applications using Phusion Passenger with one using Ruby 1.8.x and the other using Ruby 1.9.x ? I'm running Redmine which isn't Ruby 1.9.x compatible, and the other application is a home grown app.

我使用Apache 2.2.x的客货2.2.4。

I'm using Apache 2.2.x with Passenger 2.2.4.

这甚至可能吗?

推荐答案

我结束了在端口80上运行Nginx的与乘客和Ruby 1.9,然后用乘客和Ruby 1.8代理过我的其他虚拟主机Apache 2.2的端口8080上。赢了!

I ended up running Nginx with Passenger and Ruby 1.9 on port 80, and then proxying off my other virtual hosts to Apache 2.2 on port 8080 with Passenger and Ruby 1.8. Win!

这篇关于Phusion的乘客使用Ruby 1.8和1.9?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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