Hi all, I am new to ruby programming. I have just started creating a simple ruby application using ruby on rails. I have installed ruby 1.8.7-p371 and DevKit successfully. I am able to run the application using http://localhost:3000 but now my requirement is to host the application on IIS 7 and this is where I am stuck. Can anyone please help me with the steps to configure my ruby code on IIS? And also running the code using the IP address. Thank you -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cc85f699-a52b-45d0-92c6-4c0774c75231%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Sasmit Sawant wrote in post #1113034:> I am new to ruby programming. I have just started creating a simple ruby > application using ruby on rails. I have installed ruby 1.8.7-p371 and > DevKit successfully.If you''re just getting started with Ruby on Rails then you may want to seriously consider moving to a more current version of Ruby. If you''re using Rails 3.2.x then use Ruby 1.9.3. If you are using Rails 4.0.rc2 then use Ruby 2.0.> I am able to run the application using > http://localhost:3000 but now my requirement is to host the application > on > IIS 7 and this is where I am stuck. Can anyone please help me with the > steps to configure my ruby code on IIS? And also running the code using > the > IP address.Everything I''ve seen pertaining to running Rails on IIS is using FastCGI. IMHO this is is a really bad choice for deployment of production applications. There are many great ways to deploy Rails applications using open source web servers. Personally, I use Phusion Passenger along with the Apache web server with great success. I deploy to Ubuntu Linux on a Virtual Private Server (VPS). https://www.phusionpassenger.com That being said, if you''re stuck with IIS for deployment then you may want to read up on using FastCGI inside IIS. Good luck with that. I tried FastCGI years ago with a Rails deployment and was never happy with that setup. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1fddbdc0fb0656aca7a1501bbe39938f%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
On Thursday, 20 June 2013 05:23:24 UTC-7, Sasmit Sawant wrote:> > Hi all, > > I am new to ruby programming. I have just started creating a simple ruby > application using ruby on rails. I have installed ruby 1.8.7-p371 and > DevKit successfully. I am able to run the application using > http://localhost:3000 but now my requirement is to host the application > on IIS 7 and this is where I am stuck. Can anyone please help me with the > steps to configure my ruby code on IIS? And also running the code using the > IP address. > >This looks like one of the better references (most of the Rails-on-IIS stuff is pretty old): https://coderwall.com/p/bgucvg If there''s *any* way you can run something better supported (Apache runs on Windows), that may be preferable - support for IIS is definitely not a priority, and you may encounter hard-to-diagnose bugs. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5c21e5b9-8790-4811-97c1-9910a2b3db3a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Sorry for late response. Please take a look at this article: http://www.helicontech.com/articles/ruby-on-rails-on-windows-in-production/ It has changed significantly for past few month. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/98a326c175a75a95bbb9057b3032c1a2%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
Reasonably Related Threads
- [HELP] BUILD FAILED while Installing ruby-1.8.7-p371 in mac OS...
- `require': cannot load such file -- nokogiri (LoadError) in rubyXL
- how to mount /dev/shm on system container
- [LLVMdev] Author a Getting started with LLVM core libraries book for Packt.
- UTS namespace