I recently downloaded and extracted Instant Rails v1.4 on my Win XP sp1 machine. After changing and saving the windows host file and starting the cookbook app with Mongrel, browsing to www.mycookbook.com does not work. With Mozilla it displays ''redirecting to cookbook...'' but never loads. It is finding the index.html in the cookbook/public dir, but the redirect to ''recipe/list'' never returns. IE did not work either. I tried the run -> ''netsh winsock reset'' solution but no luck. Anyone have any ideas? I''m sure I''m missing something simple but after a day of debugging I''m out of ideas. Thanks in advance! -Joe -- 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 -~----------~----~----~----~------~----~------~--~---
Hi Joe, Joe wrote:> After changing and saving the windows host file > and starting the cookbook app with Mongrel,< browsing to www.mycookbook.com does not> work.For starters, let''s try something a little more direct in order to narrow down the problem. Don''t start mongrel from the IR manager. Open a command window from IR manager, cd into the cookbook directory, and then start mongrel manually. Make note of what ip address and port it starts on. I''m still working on the 1.3 release and starting mongrel manually brings it up on 3000. I think it starts on 3001 now (by default) through IR manager. At any rate, once it starts, open your browser using http://127.0.0.1:3000 (or whatever combination mongrel tells you it''s using). Let us know what happens. Best regards, Bill --~--~---------~--~----~------------~-------~--~----~ 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 Bill, After starting mongrel from the command line I get: C:\InstantRails\rails_apps\cookbook>mongrel_rails start ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment ... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. INT => stop (no restart). ** Mongrel available at 0.0.0.0:3000 ** Use CTRL-C to stop. Browsing to http://127.0.0.1:3000 leads to the same redirect hang. In the console I see: 127.0.0.1 - [Mon, 11 Dec 2006 17:00:12 GMT] "GET /recipe/list HTTP/1.1" One thing that looks suspicious to me is that these files in my /cookbook/public/ dir don''t have the correct path on the first line of the file: dispatch.cgi dispatch.fcgi dispatch.rb I did try setting the correct path and restarting IR but nothing changed. Thanks, Joe -- 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 -~----------~----~----~----~------~----~------~--~---
Hi Joe, Joe wrote:> > One thing that looks suspicious to me is that > these files in my /cookbook/public/ dir don''t > have the correct path on the first line of the file:When you unzipped IR did you, from the File Manager, start InstantRails.exe and get a dialog saying IR had moved and was going to be configured for its new location? That''s where the paths should get set. Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I did get that dialog and I clicked ''yes''. When I look at say spache/conf/httpd.conf I see the correct path was inserted. Could it be that not all my paths were set correctly? Do you know which files get updated when you first launch IR? Thanks, Joe -- 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 -~----------~----~----~----~------~----~------~--~---
Joe wrote:> > Could it be that not all my paths were set > correctly?It is possible. Best next step would be to delete the IR directory and unzip again.> Do you know which files get > updated when you first launch IR?If you still have a problem after redoing your install, you''d be better off asking about this is on the IR list ( http://rubyforge.org/mailman/listinfo/instantrails-users ) Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---