Where is the best tutorial for getting Ruby On Rails working on a windows box with Mongrel? I'm a complete novice at server management, so the more detailed the better!
You can follow this tutorial, it will get you setup you can actually manage your Mongrel server as a Windows service (start/stop/restart, start on boot, manage programatically etc etc):
How to setup mongrel as a native Windows service
I'm currently using this method to manage an instance of Redmine on a Windows box and it works wonderfully.
Good luck!
I have found the book "Deploying Rails Applications" very useful. Specially the chapter "Deploying on Windows". It gives you step by step instructions to deploy a Rails application using Apache and Mongrel
Rubystack is a free Windows Rails installer that we keep up to date and includes Mongrel support out of the box
Related
Evening all,
I have a rails app that I need to deploy to a 1&1 Virtual Server L Windows.
My setup uses a MYSQL db, rails 3.2, ruby 1.9 and was built on a mac.
I have read numerous accounts of Linux style deployments, however do the same rules apply when using a windows server? Some articles reccomend ftp'ing your app and then installing 3 other dependencies. Is this too good to be true?
I realise this is a fairly open ended question, but does anyone know the first few steps to getting this thing up and running or any helpful documents?
Thanks in Advance
Andy
I haven't tested it, because I'm not using a windows server, but have you checked this?
https://github.com/SciMed/capistrano-windows-server
I'm almost finished with the development of my first ruby on rails app. I am using windows for development. Now i want to deploy my app (most likely on iPage web hosting). the procedure described in Agile Web dev... appear to only work on MAC OS X (with passenger, etc) and didn't have much luck googling.
My questions are:
1- Is there a good and easy to follow tutorial/book/etc on how to set up local production server on windows (e.g. using apache and mysql (Possibly WAMP)) and porting it to a remote host?
2- can the book "Deploying Rails Applications: A Step-by-Step Guide" help me?
3- Would it worth the effort that i install VMware,Ubunto (or another Unix/Linux based OS) and do the production there?
Thank you!
I ran into a similar situation where we had to decide on Rails app deployment to a Windows server rather than to a Linux one. I did some research but never tried out anything since fortunately we decided to stick with a Linux server. I was not particularly happy with what I found but here it is in case it helps:
Deployment to Windows using Capistrano based gem
Articles on other deployment options to Windows
My goal is to run a rails 3.1.1 app as a service on a windows box that is accessible to a local intranet.
if it isn't possible to run as a service, what would be the preferred method to run my rails app?
advice/suggestions/opinions welcome!
You should check out the mongrel_service gem, which currently offers the simplest solution. It wraps mongrel in a service.
But i also wrote a blogpost how to create a service using thin.
Hope this helps.
I have project, personal blog with ruby on rails 3.
I use linux.
I want to run this project on apache server, not in webbrick.
How can i do this?
It will be very helpful if someone can answer.
Thanks
You can take a look at Passenger*:
http://www.modrails.com/
This is a module for Apache that works like mod_php. It's very easy to setup and you can also use the Ruby Enterprise Edition to use "33% less memory on average":
http://www.rubyenterpriseedition.com/
I am about learning to program with Ruby on Rails but I'd like to know if web applications built on ROR can be hosted on the regular Linux servers.
Absolutely. One of the great reference books on Rails, "Agile Web Development with Rails" (written by the guys that created Rails), takes you through a whole demo app that includes server setup, configuration, deployements, everything. They deploy on Linux.
I also ran a site for over a year that was a Rails app, on Linux, and it totally rocked.
I think you'll also find that the broader Rails community prefers Linux. That means when you need help with something, you're much more likely to find someone else who has had your specific problem and is able to help you fix it.
You may also find this question helpful in choosing - how to select a Rails host (if you don't host it yourself).
Yes they can be and its advised to use Linux Hosting. I hardly if anybody uses windows hosting for Ruby on Rails. As for servers, You can use
A server called Mongrel ( in a cluster ) Behind Apache or Nginx.
Unicorn
Apache with Mod_Rails ( Phusion Passenger )