开发者

JRuby mysterious stack trace

开发者 https://www.devze.com 2022-12-22 04:07 出处:网络
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:

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

精彩评论

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

关注公众号