[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: ruby incredibly slow (update 2)
From:       Nabil Majid <majid_nabil () msn ! com>
Date:       2007-12-05 17:27:56
Message-ID: 14105909.post () talk ! nabble ! com
[Download RAW message or body]



Ron Jeffries-3 wrote:
> 
> On Fri, 23 Nov 2007 04:28:33 -0500, Jari Williamsson
> <jari.williamsson@mailbox.swipnet.se> wrote:
> 
> > > None of it was very interesting. The hard drive was NOT defragged
> > > until later. After degfragging a bit, the tests run in 33 seconds the
> > > first time and 15 the second. (This strikes me as odd also.)
> > 
> > Why would that be odd? The 2nd time, it'd be in the cache?
> 
> The disk cache you mean? I suppose that could be the difference.
> 
> Ron Jeffries
> www.XProgramming.com
> 
> 
> 


Ron,

Go to to the config subdirectory in the directory you're working at (i.e.
the directory you've created with the command 'rails directoryname'). Use a
text editor to edit a file called environment.rb. Comment out (by using #)
line 8:
RAILS_GEM_VERSION = '1.2.5' unless defined? RAILS_GEM_VERSION

this line becomes (after commenting out)


#RAILS_GEM_VERSION = '1.2.5' unless defined? RAILS_GEM_VERSION

go to your command prompt. type 

$ ruby script\server

... and feel the beeze on your face....LOL

Good luck,

Nabil

-- 
View this message in context: \
http://www.nabble.com/rails-incredibly-slow-%28update%29-tf4802078.html#a14105909 \
Sent from the ruby-talk mailing list archive at Nabble.com.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic