Topic: WeBrick slow

My server when started with command "ruby script/server -b localhost" almost takes1-2 minutes to start but when watching the video in lynda.com tutorial the server starts almost at once. How can i increase the booting speed of my server.

Re: WeBrick slow

What platform are you running WEBrick on?

Re: WeBrick slow

Hello World smile

I do not think the situation is a relevant platform.
Because I am working on windows.

How to configure your computer?

Re: WeBrick slow

Switch to OS X / Linux

Re: WeBrick slow

Are you running in Windows? I encountered this problem before when I am using windows XP, and I suspect it is due to anti-virus.

Re: WeBrick slow

Or a network attached drive?

First time I started playing with RoR, I tried running an app on a network attached drive,   REAL slow!!!!

Joe got a job, on the day shift, at the Utility Muffin Research Kitchen, arrogantly twisting the sterile canvas snout of a fully charged icing anointment utensil.

Re: WeBrick slow

Hey! my WEBrick is very slow, start in 1 minutes (Intel Core i3),  when my antivirus is active... I stop antivirus protection and the WEBrick start speed up (almost instantanly)...

Maybe we need to add WEBrich and ruby to exception rules of the Antivirus.

Work for me,  sorry my bad english...

WEBrick 1.3.1.
Rails 3.0.4.
Ruby 1.9.2p180

Antivirus: Kaspersky 6.0

tanks
Juan
Santiago Chile

Re: WeBrick slow

I've tested the same app under
windows 7
Ubuntu 11.04
Mac OSX 10.6.3

Results:
Windows is slower than anyother
Mac OSX and Linux run faster, even the rails g command or rake


_jpgo wrote:

Hey! my WEBrick is very slow, start in 1 minutes (Intel Core i3),  when my antivirus is active... I stop antivirus protection and the WEBrick start speed up (almost instantanly)...

Maybe we need to add WEBrich and ruby to exception rules of the Antivirus.

Work for me,  sorry my bad english...

WEBrick 1.3.1.
Rails 3.0.4.
Ruby 1.9.2p180

Antivirus: Kaspersky 6.0

tanks
Juan
Santiago Chile

Que bueno ver a otro Chileno por aca

Last edited by jtomasrl (2011-07-09 21:18:30)

Re: WeBrick slow

i don't understant why people ready to move homes saskatchewan and get rail things