On 26 February 2011 00:37, noname <[email protected]> wrote: > When I try to run my rails project, I get a message that there is a > syntax error and the application cannot compile (see below). However, > it does not tell me which file has this error. So instead of saying > "(index.erb):56: syntax error, unexpected $end, expecting ')'" it > just has (erb) where it should provide a filename. > > Can someone provide some pointers to help me narrow the field a bit?
Is there anything in the log file (log/development.log assuming you are in development mode)? Are you running the server from netbeans? If so have you tried running from command line just in case it is a netbeans issue? If you make a new rails app does it run? Colin > > > ERROR MESSAGE: > ------------------------------------------------------------------------------------------------------ > Fast Debugger (ruby-debug-ide 0.4.9) listens on :xxxx > => Booting WEBrick > => Rails 2.3.5 application starting on http://0.0.0.0:3000 > (erb):56 > Uncaught exception: compile error > (erb):56: syntax error, unexpected $end, expecting ')' > ; _erbout > ^ > ------------------------------------------------------------------------------------------------------ > > > Thanks for any assistance you can offer! > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

