Timeouts when using the project scripts

I just started using Ruby on Rails and I am totally impressed. However
I have an issue with timeouts. Basically, whenever I run any Ruby
script I get a ten second delay before anything happens. I get the
delay when I do any of the following:

- Running the rails script (i.e. just typing 'rails')
- Genrating any model/controller/view (script/generate model xxx)
- Starting the server (script/server)

I am running Ubuntu 6.10 and have installed the system according to
http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu.

I appreciate any help.