Packaging up gems with jruby-complete

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?

Thanks,
Matt

On Sat, Dec 27, 2008 at 4:14 PM, Matt M. [email protected]
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

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

matt did you ever get this to work? I need to do the same.

On Sun, Dec 28, 2008 at 1:02 PM, Nick S. [email protected]
wrote:

we still need to do some work on this for gems that include other jar
http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email