Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails Script/generate error

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

like image 205
zeemy23 Avatar asked Nov 05 '22 15:11

zeemy23


1 Answers

have you tried updating ruby to 1.9.1?

like image 110
Mike Avatar answered Nov 11 '22 05:11

Mike