[jruby-user] ScriptingContainer Error

Ariel Valentin <[email protected]>
Newsgroups gmane.comp.lang.jruby.user
Message-ID <CAKthdGi0X+iTaOnHae9RcL54nK4_4g=vQw6HTZZb3ZbSa3ciNw@mail.gmail.com>
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: [email protected]
website: http://blog.arielvalentin.com
skype: ariel.s.valentin
twitter: arielvalentin
linkedin: http://www.linkedin.com/profile/view?id=8996534
---------------------------------------
*simplicity *communication
*feedback *courage *respect
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.