Syntax checker issues

I’m new to Ruby and RoR; I was messing around with it today and had
trouble with error codes. Specifically, the ruby syntax checker
frequently spits out ‘syntax error’ with the last line of the code as
the error line (the error is nowhere near the last line). This is
something I’d expect in a pre 1.0 version, but ruby is at 1.8.4, is the
ruby syntax checker just really primitive?
This isn’t very user friendly, especially for a newbie, is there a more
precise syntax checker that can actually point closer to the error a
high % of the time?

Cheers,
Newb

On Aug 17, 2006, at 3:58 AM, Firstname S. wrote:

high % of the time?
It means you’re missing an ‘end’

It only knows that when it reaches the end of your program–until
then, it lives in hope.

Regards

Dave T.

Dave T. wrote:

On Aug 17, 2006, at 3:58 AM, Firstname S. wrote:

high % of the time?
It means you’re missing an ‘end’

It only knows that when it reaches the end of your program–until
then, it lives in hope.

Regards

Dave T.

That’s what I was hoping, but that’s not the case. It has happened when
I leave an extra . or other various errors, not just missing a ‘end’.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs