Re: [Rails] Rails Project Won't Compile - No Detailed Errors - Help!
On 26 February 2011 00:37, noname <informzoo.admin@gmail.com> wrote:
> ERROR MESSAGE:
> Uncaught exception: compile error
> (erb):56: syntax error, unexpected $end, expecting ')'
> ; _erbout
>
> Can someone provide some pointers to help me narrow the field a bit?
This is a horrid error to debug, because of the nature of it. You've
left off a closing bracket somewhere, so the interpreter has gotten
all the way to the last "end" and said, "hang on, I have one opening
bracket too many" and baulked.
The easiest way to debug it is to go back to the last edits you did,
and look at the code for any unexpected indentation (if your editor
supports auto-indenting, or even better, identifying unclosed
brackets, it will help).
Otherwise, you're approach could be to remove all your files from the
app, and introduce them back one or two at a time - when it breaks,
you have narrowed-down the source of the problem... of course, this
approach has the difficulty of having to potentially make large edits
to the code to get it running with no models... :-/
Sorry I can't be any more help.
M
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home