ScriptingContainer Error

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 V.
e-mail: [email protected]
website: http://blog.arielvalentin.com
skype: ariel.s.valentin
twitter: arielvalentin
linkedin: Sign Up | LinkedIn