From: "AleiPhoenix (A.K.A Areverie)" Date: 2012-10-08T23:37:59+09:00 Subject: Re: What is the error: unexpected break? --20cf307d0678ede00e04cb8d2a54 Content-Type: text/plain; charset=UTF-8 What's the exact error stack? something like a.rb:1:in `
': undefined local variable or method `hello' for main:Object (NameError) or just post the error message. On Mon, Oct 8, 2012 at 10:29 PM, ajay paswan wrote: > Jan E. wrote in post #1078940: > > Hi, > > > > ajay paswan wrote in post #1078939: > >> What are the possible reasons for this? > > > > Is this some kind of guessing game? :-/ > > > > Just give us the code and the exact error message. Then we can tell you > > the reason for *this* case. It sounds like a syntax error to me. > As this is a big program, and I don't know exactly at which line am > getting the error, so can't post the whole code, is there any way to > find exactly at which line this error has occured/occurring? > > -- > Posted via http://www.ruby-forum.com/. > > -- Silence is gold. twitter: @areverie wikipedia: AleiPhoenix blog: weblog.areverie.org wiki: wiki.areverie.org --20cf307d0678ede00e04cb8d2a54 Content-Type: text/html; charset=UTF-8 What's the exact error stack?

something like

a.rb:1:in `<main>': undefined local variable or method `hello' for main:Object (NameError)

or just post the error message.

On Mon, Oct 8, 2012 at 10:29 PM, ajay paswan <lists@ruby-forum.com> wrote:
Jan E. wrote in post #1078940:
> Hi,
>
> ajay paswan wrote in post #1078939:
>> What are the possible reasons for this?
>
> Is this some kind of guessing game? :-/
>
> Just give us the code and the exact error message. Then we can tell you
> the reason for *this* case. It sounds like a syntax error to me.
As this is a big program, and I don't know exactly at which line am
getting the error, so can't post the whole code, is there any way to
find exactly at which line this error has occured/occurring?



--
Silence is gold.

twitter: @areverie
wikipedia: AleiPhoenix
blog: weblog.areverie.org
wiki: wiki.areverie.org


--20cf307d0678ede00e04cb8d2a54--