rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org
2007-Feb-26 14:47 UTC
Rails on Windows
For reasons beyond my control I''ve been saddled with deploying a Rails app I wrote onto a Win2k box. Installing Ruby, Rails, Mysql, and a host of other things that I need was easy enough, and I can now run the actual rails application via webrick. It looks awesome. But I can''t figure out for the life of my how to set up the server''s IIS configuration to handle my application. I''ve used http://made-of-stone.blogspot.com/2006/01/rails-on-iis-revisited.html and a number of supplementary resources, and I''m still not getting any results. The filters are set correctly, I''ve set up a new website and pointed it to the myapp/public directory, etc etc. But when I go to where the website should be (i.e. http://mydomain.com), all I see is the directory structure for /public. It''s as if Rails hasn''t been switched on at all, even though I know IIS is working and I followed that guide as closely as I could. Any suggestions or common problems I should be on the lookout for? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
rails-mailing-list wrote:> But I can''t figure out for the life of my how to set up the server''s IIS > configuration to handle my application.You could use... - CygWin - Webrick (script/server -p 80) - mongrel - Apache''s Win32 install So why IIS? -- Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, This is a very simple Ruby on Rails site that happily runs on windows 2003 server. http://www.mbopdigital.com I use mongrel as a web server & start it on port 80 - very simple, but it means the box can only host one normal web site. Others seem to have managed what you are trying to do. Look here. http://wiki.rubyonrails.org/rails/pages/HowtoSetupIIS rgds, - matt. Phlip wrote:> rails-mailing-list wrote: > >> But I can''t figure out for the life of my how to set up the server''s IIS >> configuration to handle my application. > > You could use... > > - CygWin > - Webrick (script/server -p 80) > - mongrel > - Apache''s Win32 install > > So why IIS? > > -- > Phlip > http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mike Volodarsky and others of the Microsoft IIS group are working on developing a FastCGI solution for running PHP/Ruby/etc on IIS. Here is his post on how to use FastCGI with Ruby on IIS. They are currently at a Technical Preview 2 level but hope to have a beta version released this spring. http://mvolo.com/blogs/serverside/archive/2007/02/18/10-steps-to-get-Ruby-on-Rails-running-on-Windows-with-IIS-FastCGI.aspx Hope this helps. On Feb 26, 8:47 am, rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org wrote:> For reasons beyond my control I''ve been saddled with deploying a Rails > app I wrote onto a Win2k box. Installing Ruby, Rails, Mysql, and a host > of other things that I need was easy enough, and I can now run the > actual rails application via webrick. It looks awesome. > > But I can''t figure out for the life of my how to set up the server''s IIS > configuration to handle my application. I''ve usedhttp://made-of-stone.blogspot.com/2006/01/rails-on-iis-revisited.html > and a number of supplementary resources, and I''m still not getting any > results. The filters are set correctly, I''ve set up a new website and > pointed it to the myapp/public directory, etc etc. But when I go to > where the website should be (i.e.http://mydomain.com), all I see is the > directory structure for /public. It''s as if Rails hasn''t been switched > on at all, even though I know IIS is working and I followed that guide > as closely as I could. > > Any suggestions or common problems I should be on the lookout for? > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---