« Return to Thread: RubyGems Missing, frustation with Solaris CoolStack and Jruby

Re: RubyGems Missing, frustation with Solaris CoolStack and Jruby

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View in Thread

On Fri, Jun 26, 2009 at 4:39 PM, Matthew Campbell<hyper@...> wrote:
> Alright I tried to write up a sensible bug report then things just get
> wierder, I was able to reproduce it on another box. But the behavior is more
> interesting, on both machines if I run the command from "/" root it
> exceptions, but if I run it from another folder like say "/tmp" its all
> fine. Same thing happened on both solaris boxes.

A couple thoughts:

1. In a different, writable directory (not /tmp), do you see it drop
any temporary files?
2. Could it be that it simply calculates a path or jruby.home
incorrectly from the "/" location?

The basic logic here is that it will try to find a "real" JRuby home,
and failing that it will use something bogus and fall back on
classloader resources. That needs to be unified a bit better, but the
fact that it fails in root makes me think that the bogus dir it's
trying to set up interferes with it seeing in-jar resources somehow.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: RubyGems Missing, frustation with Solaris CoolStack and Jruby