Following is the error I get when I run ''\root\ ruby script\server'' The server does not starts. Any help !?! ------------------------------ => Booting WEBrick... c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:275: warning: already initialized constant KNOWN_OPTIONS c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:280: warning: already initialized constant DEF_KEY_ATTRIBUTES c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:281: warning: already initialized constant DEF_ROOT_NAME c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:282: warning: already initialized constant DEF_CONTENT_KEY c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:283: warning: already initialized constant DEF_XML_DECLARATION c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:284: warning: already initialized constant DEF_ANONYMOUS_TAG c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:285: warning: already initialized constant DEF_FORCE_ARRAY c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:286: warning: already initialized constant DEF_INDENTATION ----------------------------------- MSN id: ICEMANyears@netscape.net -- Posted via http://www.ruby-forum.com/.
Hi there, I''m learning Ruby on Rails and I have problems re-starting the WEBrick server. It seems like I started the server for one Rails application but now I can''t use it for another application. I can''t seem to stop it. If I''m not mistaken I need to re-start the server every time I create a new rails app....I just can''t seem to be able to stop it and re-start it. Any help will be highly appreciated!!!! Thank you -- Posted via http://www.ruby-forum.com/.
Hi Ricardo, Ricardo ricardito wrote:> If I''m not mistaken I need to re-start the > server every time I create a new rails appThat is correct in development mode.>.I just can''t seem to be able to stop it and > re-start it.Not sure what you mean here. Could you say more about what you''ve tried and what the results were? Best regards, Bill
I think what you''re looking for is CTRL-C Just go to the command window that webrick is running in and hold the control key and press c then just run the original command you used to start it. -- Posted via http://www.ruby-forum.com/.