Forum: JRuby ScriptingContainer Error

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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.