views:

35

answers:

1

I have ruby on rails installed on my ubuntu 8.10 desktop. Script/generate came up with this error.

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

any ideas?

Thanks for you help, zeem

+1  A: 

have you tried updating ruby to 1.9.1?

Mike
For sure it is not a problem with ruby version.
klew
Strangely his advice worked. I uninstalled gems, ruby, ect, and started by installing 1.9.1, then gems, and rails, ect. And it worked!Thanks for the help. Problem resolved.
zeemy23