Hello, I came to know of mongrel by pure chance, it interrested me cause webrick never worked and instantrails for rails was very slow. the problem with webrick is/was is that it says just this:>ruby script/serverc:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has `]'' without escape => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2006-06-29 18:46:04] INFO WEBrick 1.3.1 [2006-06-29 18:46:04] INFO ruby 1.8.4 (2005-12-24) [i386-mswin32] [2006-06-29 18:46:04] INFO WEBrick::HTTPServer#start: pid=1748 port=3000 but when I point my browser to http://0.0.0.0:3000 I get that firefox cannot make connection etc. this is realy shit cause now rails (nitro or any other webrock server has the very same problem) just won''t work. So when I heard of mongrel I thought, jahoee, maby I still can enjoy my own webserver made in ruby. but quess what? this is mongrel''s message>mongrel_rails start** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment ... c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has `]'' without escape ** 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. and when I point my browwser to 0.0.0.0:3000 it had accatly the same problem as with webrick it looks like mongrel only prints these messaged and then... nothing. does anybody know what causes these very enoying frustadeble(is that a word) thing and leaves me with empty hands and no rails or nitro(more important exactly) -- <<{{}}[]greetings bas[]{{}}>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060629/57d64822/attachment.html
Luis Lavena
2006-Jun-29 17:03 UTC
[Mongrel] [mongrel] Mongrel says it works, but it doesn''t
On 6/29/06, basaah <baswilbers at gmail.com> wrote:> Hello, I came to know of mongrel by pure chance, it interrested me cause > webrick never worked and instantrails for rails was very slow. the problem > with webrick is/was is that it says just this: > > >ruby script/server > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > character class has `-'' without escape > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > character class has `-'' without escape > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > character class has `-'' without escape > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > character class has `-'' without escape > c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: > warning: regexp has `]'' without escape > => Booting WEBrick... > => Rails application started on http://0.0.0.0:3000 > => Ctrl-C to shutdown server; call with --help for options > [2006-06-29 18:46:04] INFO WEBrick 1.3.1 > [2006-06-29 18:46:04] INFO ruby 1.8.4 (2005-12-24) [i386-mswin32] > [2006-06-29 18:46:04] INFO WEBrick::HTTPServer#start: pid=1748 port=3000 > > but when I point my browser to http://0.0.0.0:3000 I get that firefox cannot > make connection etc. > this is realy shit cause now rails (nitro or any other webrock server has > the very same problem) > just won''t work. >For that info, is not rails/webrick fault but looks like your ruby installation is hosed. On both cases rexml show the warnings and errors about escaping characters. You''re using the One Click Installer? which version? What OS are you trying to run it?> So when I heard of mongrel I thought, jahoee, maby I still can enjoy my own > webserver made in ruby. > but quess what? this is mongrel''s message > >mongrel_rails start > ** Starting Mongrel listening at 0.0.0.0:3000 > ** Starting Rails with development environment ... > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > character class has`-'' without escape > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > character class has`-'' without escape > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > character class has`-'' without escape > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > character class has`-'' without escape > c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: > warning: regexp has `]'' without escape > ** 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. > > and when I point my browwser to 0.0.0.0:3000 it had accatly the same problem > as with webrick it looks like mongrel only prints these messaged and then... > nothing. > > does anybody know what causes these very enoying frustadeble(is that a word) > thing and leaves me with empty hands and no rails or nitro(more important > exactly) > > > -- > <<{{}}[]greetings bas[]{{}}>> > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > >-- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi
philippe lachaise
2006-Jun-29 17:04 UTC
[Mongrel] [mongrel] Mongrel says it works, but it doesn''t
Does http://0.0.0.0:3000 has any chance to run at all ? (actually I don''t know for sure) But shouldn''t you point your browser at http://127.0.0.1:3000<http://0.0.0.0:3000/> (WEBricks) or simply http://localhost:<port-number-of-your-choice> ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060629/f3e7e11b/attachment.html
Will_Green at URSCorp.com
2006-Jun-29 17:04 UTC
[Mongrel] [mongrel] Mongrel says it works, but it doesn''t
Try http://127.0.0.1:3000 0.0.0.0 is an invalid IP address, and just means it (Mongrel or Webrick) is listening on every IP address that is available on your system. =Will Green Web Developer & IT Coordinator, URS Creative Imaging http://www.urscreativeimaging.com/ 7650 West Courtney Campbell Causeway Suite 700 Tampa, FL 33607 813.675.6849 (direct) 813.286.1711 (main) This e-mail and any attachments are confidential. If you receive this message in error or are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy the e-mail and any attachments or copies. basaah <baswilbers at gmail .com> To Sent by: mongrel-users at rubyforge.org mongrel-users-bou cc nces at rubyforge.or g Subject [Mongrel] [mongrel] Mongrel says it works, but it doesn''t 06/29/2006 12:53 PM Please respond to mongrel-users at rub yforge.org Hello, I came to know of mongrel by pure chance, it interrested me cause webrick never worked and instantrails for rails was very slow. the problem with webrick is/was is that it says just this:>ruby script/serverc:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has `]'' without escape => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2006-06-29 18:46:04] INFO WEBrick 1.3.1 [2006-06-29 18:46:04] INFO ruby 1.8.4 (2005-12-24) [i386-mswin32] [2006-06-29 18:46:04] INFO WEBrick::HTTPServer#start: pid=1748 port=3000 but when I point my browser to http://0.0.0.0:3000 I get that firefox cannot make connection etc. this is realy shit cause now rails (nitro or any other webrock server has the very same problem) just won''t work. So when I heard of mongrel I thought, jahoee, maby I still can enjoy my own webserver made in ruby. but quess what? this is mongrel''s message>mongrel_rails start** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment ... c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has `]'' without escape ** 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. and when I point my browwser to 0.0.0.0:3000 it had accatly the same problem as with webrick it looks like mongrel only prints these messaged and then... nothing. does anybody know what causes these very enoying frustadeble(is that a word) thing and leaves me with empty hands and no rails or nitro(more important exactly) -- <<{{}}[]greetings bas[]{{}}>> _______________________________________________ Mongrel-users mailing list Mongrel-users at rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users
On 6/29/06, Luis Lavena <luislavena at gmail.com> wrote:> > On 6/29/06, basaah <baswilbers at gmail.com> wrote: > > Hello, I came to know of mongrel by pure chance, it interrested me cause > > webrick never worked and instantrails for rails was very slow. the > problem > > with webrick is/was is that it says just this: > > > > >ruby script/server > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > > character class has `-'' without escape > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > > character class has `-'' without escape > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > > character class has `-'' without escape > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > > character class has `-'' without escape > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: > > warning: regexp has `]'' without escape > > => Booting WEBrick... > > => Rails application started on http://0.0.0.0:3000 > > => Ctrl-C to shutdown server; call with --help for options > > [2006-06-29 18:46:04] INFO WEBrick 1.3.1 > > [2006-06-29 18:46:04] INFO ruby 1.8.4 (2005-12-24) [i386-mswin32] > > [2006-06-29 18:46:04] INFO WEBrick::HTTPServer#start: pid=1748 > port=3000 > > > > but when I point my browser to http://0.0.0.0:3000 I get that firefox > cannot > > make connection etc. > > this is realy shit cause now rails (nitro or any other webrock server > has > > the very same problem) > > just won''t work. > > > > For that info, is not rails/webrick fault but looks like your ruby > installation is hosed. > > On both cases rexml show the warnings and errors about escaping > characters.is that a problem then? You''re using the One Click Installer? which version? 1.8.4 but 1.8.2 did the very same thing What OS are you trying to run it? microsoft windows xp proffesional I have Suse linux on my comp as well but by linux knowledge is just to low to install mongrel I tried but rubygems sais it needed 1.8.4 of ruby, so I managed to instal that version, but then rubygems was gone and I didn''t manage to install a new rubygems.> So when I heard of mongrel I thought, jahoee, maby I still can enjoy my > own > > webserver made in ruby. > > but quess what? this is mongrel''s message > > >mongrel_rails start > > ** Starting Mongrel listening at 0.0.0.0:3000 > > ** Starting Rails with development environment ... > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > > character class has`-'' without escape > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > > character class has`-'' without escape > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > > character class has`-'' without escape > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: > > character class has`-'' without escape > > c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: > > warning: regexp has `]'' without escape > > ** 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. > > > > and when I point my browwser to 0.0.0.0:3000 it had accatly the same > problem > > as with webrick it looks like mongrel only prints these messaged and > then... > > nothing. > > > > does anybody know what causes these very enoying frustadeble(is that a > word) > > thing and leaves me with empty hands and no rails or nitro(more > important > > exactly) > > > > > > -- > > <<{{}}[]greetings bas[]{{}}>> > > _______________________________________________ > > Mongrel-users mailing list > > Mongrel-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/mongrel-users > > > > > > > -- > Luis Lavena > Multimedia systems > - > Leaders are made, they are not born. They are made by hard effort, > which is the price which all of us must pay to achieve any goal that > is worthwhile. > Vince Lombardi > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >thank you for your relpy -- <<{{}}[]greetings bas[]{{}}>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060629/93d037bb/attachment.html
Luis Lavena
2006-Jun-29 18:09 UTC
[Mongrel] [mongrel] Mongrel says it works, but it doesn''t
On 6/29/06, basaah <baswilbers at gmail.com> wrote: [snip]> > On both cases rexml show the warnings and errors about escaping > characters. > > > is that a problem then? > > > You''re using the One Click Installer? which version? > > > 1.8.4 but 1.8.2 did the very same thing > > > What OS are you trying to run it? > > > microsoft windows xp proffesionalOk, open a console, type ''irb'' into it, do a require ''rexml/entity'' if the warnings shown here is the same during webrick/mongrel boot, then exist a problem with the xml parser, sometime that indicates your ruby installation is broken (somehow). my line #21 of C:\ruby\lib\ruby\1.8\rexml\entity.rb look like this: ENTITYDECL = /\s*(?:#{GEDECL})|(?:#{PEDECL})/um I don''t use One-Click, so that''s why I have it installed in ruby/1.8 instead of site_ruby/1.8> I have Suse linux on my comp as well but by linux knowledge is just to low > to install mongrel > I tried but rubygems sais it needed 1.8.4 of ruby, so I managed to instal > that version, but then rubygems was gone and I didn''t manage to install a > new rubygems. >No problem, my knowledge on suse/yast distros is almost nonexistent.> > thank you for your relpy >No problem, hope we get to the root of this problem. -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi
On 6/29/06, Luis Lavena <luislavena at gmail.com> wrote:> > On 6/29/06, basaah <baswilbers at gmail.com> wrote: > [snip] > > > On both cases rexml show the warnings and errors about escaping > > characters. > > > > > > is that a problem then? > > > > > You''re using the One Click Installer? which version? > > > > > > 1.8.4 but 1.8.2 did the very same thing > > > > > What OS are you trying to run it? > > > > > > microsoft windows xp proffesional > > Ok, open a console, type ''irb'' > > into it, do a require ''rexml/entity''first I got the same errors again... so I uninstalled ruby still had the .exe for 1.8.4. 17 rc2 or something on my desktop installed again ?and quess what? It worked!!! it returned true now, also rubygems will also do remote instalations again (before I all had to do it manual) I''m now waiting for mongrel to install... done installing woeh I hope it works.... aaargh errors... no wait it just that the rails gem cannot be found. let''s install that then huh oke that is installed, let''s try again... it gives this:>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. looks good, now try firefox... and damn STILL don''t work.. aah I hoped it did. let''s try webrick, nope maby trough 127.0.0.1:3000 WHAT it worked, but before reinstall of ruby this had no effect. back to mongrel SO tthank you very very very much how simple it was, just an reinstall of ruby, now I can test the speed differences for my own. if the warnings shown here is the same during webrick/mongrel boot,> then exist a problem with the xml parser, sometime that indicates your > ruby installation is broken (somehow). > > my line #21 of C:\ruby\lib\ruby\1.8\rexml\entity.rb look like this: > > ENTITYDECL = /\s*(?:#{GEDECL})|(?:#{PEDECL})/um > > I don''t use One-Click, so that''s why I have it installed in ruby/1.8 > instead of site_ruby/1.8 > > > > > I have Suse linux on my comp as well but by linux knowledge is just to > low > > to install mongrel > > I tried but rubygems sais it needed 1.8.4 of ruby, so I managed to > instal > > that version, but then rubygems was gone and I didn''t manage to install > a > > new rubygems. > > > > No problem, my knowledge on suse/yast distros is almost nonexistent. > > > > > thank you for your relpy > > > > No problem, hope we get to the root of this problem.and we got it Ruby itself was the root --> Luis Lavena > Multimedia systems > - > Leaders are made, they are not born. They are made by hard effort, > which is the price which all of us must pay to achieve any goal that > is worthwhile. > Vince Lombardi > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-- <<{{}}[]greetings bas[]{{}}>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060629/3cd91e41/attachment.html
David Vrensk
2006-Jun-29 19:51 UTC
[Mongrel] [mongrel] Mongrel says it works, but it doesn''t
On 6/29/06, basaah <baswilbers at gmail.com> wrote:> > > On 6/29/06, Luis Lavena <luislavena at gmail.com> wrote: > > > On 6/29/06, basaah <baswilbers at gmail.com> wrote: > > [snip] > > > > >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. > > looks good, now try firefox... and > damn STILL don''t work.. > aah I hoped it did. > let''s try webrick, nope > maby trough 127.0.0.1:3000 > WHAT it worked, but before reinstall of ruby this had no effect. >Just to clear things up: 0.0.0.0 is a special IP address that means "all available IP addresses", normally loopback (127.0.0.1) and one public address (typically 192.168.x.y if you are behind a firewall). Mongrel can listen to all addresses (i.e., be prepared to receive connections on any interface), but Firefox has to talk to a specific address, like 127.0.0.1 or whatever your machine''s public IP is. Just disregard what I said if I misinterpreted the situation entirely. Best of luck, /David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060629/a67e9483/attachment.html