IIS上的Ruby on Rails? [英] Ruby on Rails on IIS?

查看:109
本文介绍了IIS上的Ruby on Rails?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个通常在Heroku或Linux Box上运行的Ruby on Rails应用程序,但我也需要将其部署到Windows Server。

I'm writing a Ruby on Rails app that normally runs on Heroku or a Linux Box, but I'd need to deploy it to a Windows Server as well.

服务器是安装了IIS 7.0的64位Win2008服务器,所以通常我更喜欢使用IIS而不是在它旁边设置Apache。

The Server is a 64-Bit Win2008 Server with IIS 7.0 installed, so normally I'd prefer using IIS instead of setting up an Apache next to it.

I只是不知道Ruby / Rails是否适用于IIS?宝石有效吗? 64位是一个问题吗?

I just don't know if Ruby/Rails works with IIS? Do Gems work? Is 64-Bit an issue?

我正在考虑使用Ruby 1.9.1和Rails 2.3。

I'm thinking of using Ruby 1.9.1 and Rails 2.3.

推荐答案

你必须喜欢痛苦,因为这种部署会受到伤害。我不知道这是否适合您,但在我以前的工作中,我们在Windows平板电脑上安装了网络应用程序(超过200个)并决定使用虚拟机并在虚拟机中部署应用程序。我们在没有iis的Windows上部署的PC平板电脑上的旧应用程序之一,只使用带有mongrel的ruby和rubygems作为应用程序服务器而mysql作为数据库,但它并不令人愉快。

you must like pain because this deployment is going to hurt. I don't know if this is a solution for you, but at my old job we were deploying web apps on windows tablets (over 200 of them) and decided to use virtual box and deploy the app in the vm. One of our old apps on the pc tablets we deployed on windows without iis, just using ruby and rubygems with mongrel as the app server and mysql as the database but it was not pleasurable.

这篇关于IIS上的Ruby on Rails?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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