Well, yeah. But in the official JRuby distribution, both "bin" and
"lib" directories do have the same parent dir, and JRUBY_HOME is not
needed.

We've seen many cases in the path when JRUBY_HOME was not helping but
actually confusing users, when outdated value of JRUBY_HOME was
causing weird errors, or when users were actually running wrong
version of JRuby, not knowing it.

 See http://jira.codehaus.org/browse/JRUBY-1961 for more details.

So, with the recent JRuby (from trunk or 1.1RC3), you don't really
need to care about JRUBY_HOME.

Thanks,
  --Vladimir

On Tue, Mar 25, 2008 at 1:11 PM, XiaoLiang Liu <[EMAIL PROTECTED]> wrote:
> Thanks.
>
> But I think $JRUBY_HOME is important when the lib directory is not under the
> root directory or JRuby. I mean, when JRuby lib is not together with JRuby
> bin.
>
> I think $JRUBY_HOME specifies the parent directory of JRuby lib, or
> $JRUBY_HOME/lib is the lib directory of JRuby, am I right?
>
>
>
> On 3/25/08, Vladimir Sizikov <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hi guys,
> >
> > On Tue, Mar 25, 2008 at 6:17 AM, Mike Herrick <[EMAIL PROTECTED]>
> wrote:
> > > Actually the wiki page advises *against* setting JRUBY_HOME.
> >
> > Yes, currently only two variables need to be adjusted: PATH and JAVA_HOME.
> >
> > The question is: why do we even require JAVA_HOME at all?
> > I think it would be easier for new users if java could be picked up
> > from the PATH.
> >
> > We even have a bug for this:
> > JRUBY-2301: JRuby script should work when java is installed but
> > JAVA_HOME not set
> >
> > Any particular reason why JAVA_HOME is really, really required?
> >
> > Thanks,
> > --Vladimir
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >    http://xircles.codehaus.org/manage_email
> >
> >
> >
>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to