script/generate error

Hello, I am trying to get my development environment going, and am stuck on the script/generate command which produces this error:

undefined method `index' for #<Enumerator: "Rails Info:":each_line>

I'm in the correct directory. Running ubuntu 8.10. localhost:3000 is showing the welcome page.

Thanks for your time and help, zeem

Hello, I am trying to get my development environment going, and am stuck on the script/generate command which produces this error:

undefined method `index' for #<Enumerator: "Rails Info:":each_line>

What is the exact command you are entering, and show us the full stack trace please. Which version of Rails and Ruby?

Colin