Forum: JRuby ScriptingContainer Error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
54147c1a1223b425d4f4f7947c9bba46?d=identicon&s=25 Ariel Valentin (Guest)
on 2014-08-22 04:53
(Received via mailing list)
Hello!

I have run into an error that only seems to happen in a chroot jail:
=================
org.jruby.embed.EvalFailedException: (NameError) uninitialized constant
Gem::StubSpecification::Object
        at
org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133)
        at
org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1264)
        at
org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1257)
=================

After that stack trace all of my embedded scripts fail:
======================================
org.jruby.embed.EvalFailedException: (Errno::EBADF) Bad file descriptor
        at
org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133)
        at
org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1264)
        at
org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1257)
=======================================

Have any of you ever experienced this error?



Thanks,
Ariel Valentin
e-mail: ariel@arielvalentin.com
website: http://blog.arielvalentin.com
skype: ariel.s.valentin
twitter: arielvalentin
linkedin: http://www.linkedin.com/profile/view?id=8996534
This topic is locked and can not be replied to.