Hi Everyone, I am following the ''Agile Web Dev. with Rails'' book, and I used instant rails to do the install on a Windows machine. Everything seemed to work fine until I got to: Booting WEBrick... After that, nothing happens. I tried creating a new rails application, but I get the same problem. I also tried reinstalling to no avail. Any ideas? Thanks for the help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060727/b47ce5f6/attachment-0001.html
Well, I have just installed rails with RubyGem. What I do is to create a new app and then I start WEBrick from this new app. Then, I open a new command window to keep on doing things, while the first one stays with the server, let''s say. I hope this gives you any hint to your problem... :S A Qureshi wrote:> Hi Everyone, > > I am following the ''Agile Web Dev. with Rails'' book, and I used instant > rails to do the install on a Windows machine. Everything seemed to work > fine until I got to: > > Booting WEBrick... > > After that, nothing happens. I tried creating a new rails application, > but > I get the same > problem. I also tried reinstalling to no avail. > > Any ideas? > > Thanks for the help.-- Posted via http://www.ruby-forum.com/.
Thanks for the hint. The book says that I should expect the following traces after "Booting WEBrick...": demo> ruby script/server => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2006-01-08 21:44:10] INFO WEBrick 1.3.1 [2006-01-08 21:44:10] INFO ruby 1.8.2 (2004-12-30) [powerpc-darwin8.2.0] [2006-01-08 21:44:11] INFO WEBrick::HTTPServer#start: pid=10138 port=3000 But, I do not get any of these traces after "Booting WEBrick." Is it a problem that I do not get these traces? Also, when I go to http://localhost:3000, I don''t see anything. Any suggestions? Thanks again for the help.>Well, I have just installed rails with RubyGem. What I do is to create a >new app and then I start WEBrick from this new app. Then, I open a new >command window to keep on doing things, while the first one stays with >the server, let''s say.>I hope this gives you any hint to your problem... :S>A Qureshi wrote: > Hi Everyone, > > I am following the ''Agile Web Dev. with Rails'' book, and I used instant > rails to do the install on a Windows machine. Everything seemed to work > fine until I got to: > > Booting WEBrick... > > After that, nothing happens. I tried creating a new rails application, > but > I get the same > problem. I also tried reinstalling to no avail. > > Any ideas? > > Thanks for the help.-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060728/7e7899b1/attachment.html
A Qureshi wrote:> Thanks for the hint. The book says that I should expect the following > traces after "Booting WEBrick...": > > demo> > > ruby script/server > > => Booting WEBrick... > > => Rails application started on http://0.0.0.0:3000 > > => Ctrl-C to shutdown server; call with --help for options > > [2006-01-08 21:44:10] INFO WEBrick 1.3.1 > > [2006-01-08 21:44:10] INFO ruby 1.8.2 (2004-12-30) [powerpc-darwin8.2.0] > > [2006-01-08 21:44:11] INFO WEBrick::HTTPServer > > #start: pid=10138 port=3000 > > But, I do not get any of these traces after "Booting WEBrick." Is it a > problem that I do not get these traces? > > Also, when I go to http://localhost:3000, I don''t see anything. > > Any suggestions? Thanks again for the help.Does it go back to the prompt after saying Booting WEBrick? If that''s the case, there is something wrong with your Rails application. Try to run ruby script/console instead, and see if you get an exception -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined.
A Qureshi wrote:> Thanks for the hint. The book says that I should expect the following > traces after "Booting WEBrick...": > > demo> > > ruby script/server > > => Booting WEBrick... > > => Rails application started on http://0.0.0.0:3000 > > => Ctrl-C to shutdown server; call with --help for options > > [2006-01-08 21:44:10] INFO WEBrick 1.3.1 > > [2006-01-08 21:44:10] INFO ruby 1.8.2 (2004-12-30) [powerpc-darwin8.2.0] > > [2006-01-08 21:44:11] INFO WEBrick::HTTPServer > > #start: pid=10138 port=3000 > > But, I do not get any of these traces after "Booting WEBrick." Is it > a problem that I do not get these traces? > > Also, when I go to http://localhost:3000, I don''t see anything. > > Any suggestions? Thanks again for the help. >I''m not able to help cos I have no idea what may be wrong. You should normally see the remaining outputs. 1. What rails are you using? InstantRails? 2. Also, try to start it on another port prompt>ruby script\server -p3010 then try to connect to http://localhost:3010/ 3. Are there any other installations of Ruby in your path?? prompt>ruby --version What value does it return? Then go to the where you installed Ruby (for Rails) and run the same command again. If it is the same value, then at least that is set correctly - and I''m confused! See if this helps! Cheers Mohit.
You might also check that you haven''t modified environment.rb or any of the other configuration files in an illegal/non-working way. I spent an embarassing amount of time tracing down the same issue you are describing and a bad environment.rb was the culprit. Joe On Fri, 28 Jul 2006, Mohit Sindhwani wrote:> A Qureshi wrote: >> Thanks for the hint. The book says that I should expect the following >> traces after "Booting WEBrick...": >> >> demo> >> >> ruby script/server >> >> => Booting WEBrick... >> >> => Rails application started on http://0.0.0.0:3000 >> >> => Ctrl-C to shutdown server; call with --help for options >> >> [2006-01-08 21:44:10] INFO WEBrick 1.3.1 >> >> [2006-01-08 21:44:10] INFO ruby 1.8.2 (2004-12-30) [powerpc-darwin8.2.0] >> >> [2006-01-08 21:44:11] INFO WEBrick::HTTPServer >> >> #start: pid=10138 port=3000 >> >> But, I do not get any of these traces after "Booting WEBrick." Is it a >> problem that I do not get these traces? >> >> Also, when I go to http://localhost:3000, I don''t see anything. >> >> Any suggestions? Thanks again for the help.
I spent two weeks with a WEBrick issue on Windows and finally came across something that shed light on the situation. This was my last resort and luckily it worked. It had to do with resetting Winsock on XP: http://www.db75.com/new_blog/?p=249 It''s worth a shot :) -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Mohit Sindhwani Sent: Friday, July 28, 2006 10:18 AM To: qureshi8@msu.edu; rails@lists.rubyonrails.org Cc: dfl_maradentro@yahoo.es Subject: Re: [Rails] Re: cannot get past "Booting WEBrick" A Qureshi wrote:> Thanks for the hint. The book says that I should expect the following> traces after "Booting WEBrick...": > > demo> > > ruby script/server > > => Booting WEBrick... > > => Rails application started on http://0.0.0.0:3000 > > => Ctrl-C to shutdown server; call with --help for options > > [2006-01-08 21:44:10] INFO WEBrick 1.3.1 > > [2006-01-08 21:44:10] INFO ruby 1.8.2 (2004-12-30)[powerpc-darwin8.2.0]> > [2006-01-08 21:44:11] INFO WEBrick::HTTPServer > > #start: pid=10138 port=3000 > > But, I do not get any of these traces after "Booting WEBrick." Is it > a problem that I do not get these traces? > > Also, when I go to http://localhost:3000, I don''t see anything. > > Any suggestions? Thanks again for the help. >I''m not able to help cos I have no idea what may be wrong. You should normally see the remaining outputs. 1. What rails are you using? InstantRails? 2. Also, try to start it on another port prompt>ruby script\server -p3010 then try to connect to http://localhost:3010/ 3. Are there any other installations of Ruby in your path?? prompt>ruby --version What value does it return? Then go to the where you installed Ruby (for Rails) and run the same command again. If it is the same value, then at least that is set correctly - and I''m confused! See if this helps! Cheers Mohit. _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
I don''t use Windows, but it seems your problem is with your Webrick installation. You could try installing Mongrel<http://mongrel.rubyforge.org/docs/win32.html>and using that instead as your webserver. On 7/27/06, A Qureshi <arfanq@gmail.com> wrote:> > Hi Everyone, > > I am following the ''Agile Web Dev. with Rails'' book, and I used instant > rails to do the install on a Windows machine. Everything seemed to work > fine until I got to: > > Booting WEBrick... > > After that, nothing happens. I tried creating a new rails application, > but I get the same > problem. I also tried reinstalling to no avail. > > Any ideas? > > Thanks for the help. > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- "Impossible is nothing." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060728/b1b56169/attachment.html