Forum: JRuby Mysterious JRuby stack trace

Posted by George Opritescu (cage)
on 2010-03-05 12:03
(Received via mailing list)
Hi guys,


I'm using JRuby 1.4.0 complete jar in one of my projects. I'm executing 
it from ant via the exec task:
java -jar jruby1.4.0.jar script.rb script_params

The thing is, on some computers I receive this:
[exec] Exception in thread "main" :1: no !/ in spec (IOError)
[exec]    ...internal jruby stack elided...
[exec]    from (unknown).(unknown)(:1)

Has anyone encountered it before? What can I do to get a more 
informative stack trace?
Posted by Vladimir Sizikov (Guest)
on 2010-03-05 12:08
(Received via mailing list)
Hi George,

Anything particularly interesting in script.rb?
Do you see the same even with simplest script.rb?

Also try to use -b command line switch, anything more interesting 
printed?

java -jar jruby1.4.0.jar -b script.rb

Thanks,
  --Vladimir

On Fri, Mar 5, 2010 at 12:03 PM, George <opritescugeorge@yahoo.com> 
wrote:
> [exec]    ...internal jruby stack elided...
> [exec]    from (unknown).(unknown)(:1)
>
> Has anyone encountered it before? What can I do to get a more informative
> stack trace?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by George Opritescu (cage)
on 2010-03-07 14:49
(Received via mailing list)
Any suggestion would be helpful. Is there any switch I could pass to 
JRuby and see a full stack trace?




________________________________
From: George <opritescugeorge@yahoo.com>
To: user@jruby.codehaus.org
Sent: Fri, March 5, 2010 1:03:25 PM
Subject: [jruby-user] Mysterious JRuby stack trace


Hi guys,


I'm using JRuby 1.4.0 complete jar in one of my projects. I'm executing 
it from ant via the exec task:
java -jar jruby1.4.0.jar script.rb script_params

The thing is, on some computers I receive this:
[exec] Exception in thread "main" :1: no !/ in spec (IOError)
[exec]    ...internal jruby stack elided...
[exec]    from (unknown).(unknown)(:1)

Has anyone encountered it before? What can I do to get a more 
informative stack trace?
Posted by Vladimir Sizikov (Guest)
on 2010-03-07 14:53
(Received via mailing list)
Hi George,

Try jruby -d ....

Thanks,
  --Vladimir

On Sun, Mar 7, 2010 at 2:48 PM, George <opritescugeorge@yahoo.com> 
wrote:
>
>
> Has anyone encountered it before? What can I do to get a more informative
> stack trace?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
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
No account? Register here.