From: Henry Maddocks Date: 2012-09-27T05:33:29+09:00 Subject: Re: How To Rectify This Error? On 27/09/2012, at 8:18 AM, Eric Christopherson wrote: > On Wed, Sep 26, 2012 at 5:00 AM, Jan E. wrote: >> Hi, >> >> The error message is actually telling you what's wrong: The parser ran >> into the end of the file while we was still expecing an "end". > > True, but the error message is hard to decipher. When it says "$end", > it means the end of the file; when it says "keyword_end", it means the > actual word "end". WAT! "keyword_end" is hard to understand? This is the ruby equivalent of missing a closing brace or a semi colon. A Ruby coder is going to see this error message all the time. The fact that the OP thought it was easier to post a message here rather than working it out himself boggles the mind. Henry