BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

RubyGems Roundup: Fat Binary Gems, Is It JRuby and New Plugins

by Mirko Stocker on Jun 02, 2009 |

Aaron Patterson has a solution for native Windows RubyGems that support both Ruby 1.8 and 1.9 at the same time: fat binary gems. Fat gems contain the shared libraries for both targets and determine at run-time which one to load.

Luis Lavena from rake-compiler is already working on integrating Aaron's changes and has published a beta version of rake-compiler. For a simple example on fat gems, take a look at Aaron's demo on GitHub.

Fat binary gems seem to work "similar to providing JRuby and Ruby support in the same gem by just publishing and loading the jar file extension when in JRuby", as Charles Nutter commented on Aaraon's blog.

Regarding JRuby and RubyGems, the recently launched is it JRuby shows the status of JRuby compatibility for popular gems in the same fashion as is it Ruby 1.9 does.

RubyGems 1.3.2 introduced plugins, and in the past few weeks, some new plugins have emerged: Gabriel Horner shows how to write plugins using a gem grep plugin as an example and Adam Sanderson wrote an open plugin that simply opens a gem in the default editor.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT