From: Andrew Libby Date: 2006-10-11T01:45:16+09:00 Subject: Re: need help with $end vs kEND error I'm just learning ruby myself, but typically when this happens, I'm missing an end to a function, or some other block: #!/usr/bin/ruby def joe print "JOE MAMMA\n" Produces: [alibby@localhost ~]$ ./t.rb ./t.rb:6: syntax error, unexpected $end, expecting kEND Perhaps this is it? If you're willing to post the code (if it's not too long) we may be able to provide more guidance. Andy Kd Kushelduv wrote: > I have been trying to write a program for my class assignment but > everytime i do i get an error on the last line of the code that says > 'unexpected $end, expecting kEND' > this happens on every program i try to run > any ideas? > > i am using fedora core 5 if that makes a difference >