Roger Pack wrote:
> Question. Currently with rails startup time in linux for me is like 6s,
> in windows like...20s, but regardless, anybody know just why this is
> taking so long (I'm pretty sure it's cpu bound--curious if anyone's
> investigated this).
> Anyone know any tricks to load things quicker?

You could try this, which I knocked together last week:
http://github.com/candlerb/snailgun

It's for Linux only. Basically, it starts a Ruby interpreter and loads 
in all the libraries demanded by your application (gems and all, if 
they're declared in config/environment.rb). Then each time you want a 
new Rails process, you can just fork the preloaded one, using a slightly 
different command to normal:

  frake                # run tests
  fautotest            # background testing
  fconsole             # interactive console
  fruby script/server  # web server

I find it speeds things up hugely on my old Thinkpad X30 laptop.

Regards,

Brian.
-- 
Posted via http://www.ruby-forum.com/.