« Return to Thread: Packaging up gems with jruby-complete

Re: Packaging up gems with jruby-complete

by goodieboy :: Rate this Message:

Reply to Author | View in Thread

Cool thanks Nick. Would you mind explaining the workaround? I unjared the jruby-complete jar. But not seeing rubygems or any other gem specifications. Are you saying Hpricot won't work?

Thanks,
Matt

On Sun, Dec 28, 2008 at 1:02 PM, Nick Sieger <nicksieger@...> wrote:
On Sat, Dec 27, 2008 at 4:14 PM, Matt Mitchell <goodieboy@...> wrote:
> Hi,
>
> I'm using jruby-complete and would like to bundle up some other gems
> (Hpricot etc.). What's the easiest way to do this?

There isn't an "easy" way to do this right now. JRuby 1.1.6 has a
feature that allows you to bundle gems in a jar file, so you could
manually put the "gems" and "specifications" directories of a gem
repository into the root of the jruby-complete jar, for example. But
we still need to do some work on this for gems that include other jar
files of Java code, such as Hpricot.

I plan to do a write-up of this soonish, check my blog
(http://blog.nicksieger.com/) for the details.

/Nick

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

   http://xircles.codehaus.org/manage_email



 « Return to Thread: Packaging up gems with jruby-complete