Forum: JRuby build a gem for JRuby or not?

Posted by Lei Gao (gaolei)
on 2013-01-23 17:33
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
Posted by Mauro Asprea (Guest)
on 2013-01-23 20:43
(Received via mailing list)
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 Gao <lists@ruby-forum.com> 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: mauroasprea@gmail.com
Mobile: +34 654297582
Skype: mauro.asprea
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.