The order in which the environment variables are applied can cause problems.
For example, say you set in control panel these variables:
JRUBY_HOME=c:\jruby
PATH=%JRUBY_HOME%\bin;c:\windows\system32
Then depending on the order they're applied, you can end up with path
variable containing either
PATH=c:\jruby\bin;c:\windows\system32
or PATH=%JRUBY_HOME%\bin;c:\windows\system32
The first of these works as expected, the second one doesn't, as the
path variable has to contain the expanded form.
Cheers,
Robert
Eric Armstrong wrote:
On windows, there are a couple of useful notes to add:
* To set environment variables and the path on XP:
Start -> Control Panel -> System
Advanced tab
Environment Variables button
* JRUBY_HOME is accessed as %JRUBY_HOME%
But I'm still weirded out. Even though my path shows
%JRUBY_HOME%\bin, executing "jruby" produces "not a
command". I would have sworn the path worked better
than that. What have I forgotten?
Charles Oliver Nutter wrote:
Useful info, thanks! We'll update README for RC3 with this stuff.
Mike McKinney wrote:
P.S.
Shouldn't the following be placed in the Readme file somewhere?
Environment Variable Prequisites:
JRUBY_BASE (Optional) Base directory for resolving dynamic
portions
of a JRuby installation. If not present, resolves to
the same directory that JRUBY_HOME points to.
JRUBY_HOME (Optional) May point at your JRuby "build" directory.
If not present, the current working directory is
assumed.
JRUBY_OPTS (Optional) Default JRuby command line args.
JAVA_HOME Must point at your Java Development Kit installation.
On 5/30/07, * Mike McKinney* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Just downloaded the binary distro...
README file contains the following line:
Project Contact: Thomas E Enebo < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
Does he respond to that email address anymore? (shouldn't it
read Sun?)
Just checking...
Mike McKinney
---------------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email