What are the possible reasons for this? I am using ruby version: 1.8.7
on 2012-10-08 15:06
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.
on 2012-10-08 16:29
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?
on 2012-10-08 16:37
ajay paswan wrote in post #1078949: > 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? The error message should say that (along with the file name). For example, when I put a "break" on the top level, I get the message (some path)/main.rb:11: Invalid break (some path)/main.rb: compile error (SyntaxError) So the error is on line 11 of main.rb
on 2012-10-08 16:38
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: > 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
on 2012-10-08 17:13
> or just post the error message.
Error message: unexpected break
Backtrace: ../worker/executor.rb:141:in `run1'../client/run2.rb:45:in
`run_on_browser'../client/client.rb:48../client/client.rb:36:in
`initialize'../client/client.rb:36:in
`new'../client/client.rb:36../client/client.rb:34:in
`each'../client/client.rb:34
on 2012-10-08 17:19
On Mon, Oct 8, 2012 at 5:13 PM, ajay paswan <lists@ruby-forum.com> wrote: >> or just post the error message. > > Error message: unexpected break > Backtrace: ../worker/executor.rb:141:in `run1'../client/run2.rb:45:in Please check executor.rb, line 141 and show us what's there (and around there). > `run_on_browser'../client/client.rb:48../client/client.rb:36:in > `initialize'../client/client.rb:36:in > `new'../client/client.rb:36../client/client.rb:34:in > `each'../client/client.rb:34 Jesus.
on 2012-10-08 21:18
hey am new to ruby programming. can someone help me in installing the software and getting started? pl mail me if u can spend ur valuable time for me my email id is : ramanath.0608@gmail.com
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.