Bundled Buildr + JRuby distribution

View: New views
4 Messages — Rating Filter:   Alert me  

Bundled Buildr + JRuby distribution

by Alex Boisvert :: Rate this Message:

| View Threaded | Show Only this Message

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

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

Re: Bundled Buildr + JRuby distribution

by Alex Boisvert :: Rate this Message:

| View Threaded | Show Only this Message

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 <alex.boisvert@...>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
>
>

Re: Bundled Buildr + JRuby distribution

by Nick Sieger-2 :: Rate this Message:

| View Threaded | Show Only this Message

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 <alex.boisvert@...
> >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
>>
>>


Re: Bundled Buildr + JRuby distribution

by Alex Boisvert :: Rate this Message:

| View Threaded | Show Only this Message

Thanks, yes, I think I have solutions for both platforms now.   Just need to
start VirtualBox to test the Windows part (which I should have done the
first time around).

And I've now removed all other scripts (jirb, jrubyc, ...) so they don't
conflict with other JRuby installs.

alex


On Tue, Nov 10, 2009 at 2:53 PM, Nick Sieger <nicksieger@...> wrote:

> 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 <alex.boisvert@...
>> >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>
>>> <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
>>>
>>>
>>>
>