Build a gem for JRuby or not?

Hello List,

New to JRuby, Had a few questions on gems.

Generally if you need some features from Java libraries, do you prefer
to build a new Ruby gem to wrap it or you prefer calling it directly as
Java code?(Calling Java in Ruby looks kinda chunky to me though)

If building the gem, generally how to manage the Jar dependencies? Is
there a way which can specificity the jar dependencies? eg. If I write a
gem, and requires common-codec-xxxx.jar. How do we do that?

Last one, if we have to write a gem for JRuby, is there a good tutorial
for this task?

Thanks a lot.
Lei

For the dependencies take a look at jbunder it uses Maven underneath and
you’ll have a Jarfile and a Jarfile.lock much like in regular bundler

On Wed, Jan 23, 2013 at 5:33 PM, Lei G. [email protected] wrote:

gem, and requires common-codec-xxxx.jar. How do we do that?

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Mauro Asprea

E-Mail: [email protected]
Mobile: +34 654297582
Skype: mauro.asprea