# Syntax checker issues

**URL:** <https://www.ruby-forum.com/t/syntax-checker-issues/65287>\
**Category:** Rails\
**Created:** [August 17, 2006, 10:58am UTC](https://www.ruby-forum.com/t/syntax-checker-issues/65287 "2006-08-17T10:58:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![inboulder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3e96dc/32.png) [@inboulder](https://www.ruby-forum.com/u/inboulder)\
**Post date:** [August 17, 2006, 10:58am UTC](https://www.ruby-forum.com/t/syntax-checker-issues/65287/1 "2006-08-17T10:58:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![inboulder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3e96dc/32.png) [@inboulder](https://www.ruby-forum.com/u/inboulder)\
**Post date:** [August 17, 2006, 3:26pm UTC](https://www.ruby-forum.com/t/syntax-checker-issues/65287/2 "2006-08-17T15:26:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![inboulder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3e96dc/32.png) [@inboulder](https://www.ruby-forum.com/u/inboulder)\
**Post date:** [August 17, 2006, 9:16pm UTC](https://www.ruby-forum.com/t/syntax-checker-issues/65287/3 "2006-08-17T21:16:43Z")

</div>

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’.
