Alex,

For Windows, you can piggy back off our new native launcher in JRuby 1.4 by copying jruby.exe to buildr.exe. This effectively does the same as "jruby -S buildr" would do. The PATH issue is trickier admittedly. You really need the shebang in the "buildr" script to point to the copy of JRuby that was bundled, instead of "#!/usr/bin/env jruby".

/Nick

On Nov 10, 2009, at 16:42 , Alex Boisvert wrote:

Hmmmm.... for a start there's two big issues with this distro. First, if
you already have jruby in your PATH, things get confused and basically
nothing works. Second, there's no buildr.bat so it's pretty useless for
Windows users.  (Unless they are willing to run "jruby -S buildr")

I'll do another take later.  Thanks for listening ;)

alex


On Tue, Nov 10, 2009 at 2:04 PM, Alex Boisvert <[email protected] >wrote:

Hi,

I've created an experimental distribution of Buildr 1.3.5 and JRuby 1.4.0
and made it available at:
http://people.apache.org/~boisvert/buildr-1.3.5-jruby-1.4.0.zip<http://people.apache.org/%7Eboisvert/buildr-1.3.5-jruby-1.4.0.zip >

The distro is 15M -- not too bad.  I've trimmed the packaged JRuby of
everything I could that didn't affect functionality, such as documentation
and Ruby 1.9 support.

To use it, simply
 1) unzip in a directory,
 2) set your PATH to point to the "bin" directory, and
 3) run "buildr" as usual.

Looking for feedback on how it works as a quick way to get yourself/ other people started. If there's enough interest, it could become part of our
supported distros.

thanks,
alex



Reply via email to