From: Nabil Majid Date: 2007-12-06T02:27:56+09:00 Subject: Re: ruby incredibly slow (update 2) Ron Jeffries-3 wrote: > > On Fri, 23 Nov 2007 04:28:33 -0500, Jari Williamsson > 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.