开发者

JRuby mysterious stack trace

I'm using JRuby 1.4.0 com开发者_运维知识库plete 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?


Try to run with -d command line switch and see if you get a more informative exception:

java -jar jruby1.4.0.jar -d script.rb script_params
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜