[BioRuby] Calling Java from Ruby

Michael Barton mail at michaelbarton.me.uk
Wed Apr 25 02:47:25 UTC 2012


>
> Great to hear from you again!
>

Thank you. I've been following the bioruby list and the
progress on the website is excellent. I think this will be
very positive for BioRuby.

> > I had a question about using Java from Ruby,
> > specifically packaging up Java code in a gem. Has anyone
> > tried this? What is the best way of going about this?
> > Compile the Java files at install time or include a
> > precompiled .jar with the gem?
> >
> > I'm considering mixing some clojure code into a ruby
> > gem.
>
> I don't see technical issues. It should be possible to
> include a jar. Or provide a jar together with a gem. Best
> is probably to ask on the JRuby mailing list - there must
> be people thinking about or doing it.

OK. Thank you for the suggestion. I will try this.

> Make sure to publish it as a bio-gem! At least, if you
> want people to find it.

Still a germ of an idea at the moment, but I will of course.
:)

Mike


More information about the BioRuby mailing list