BT

Your opinion matters! Please fill in the InfoQ Survey!

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

| by Mirko Stocker Follow 0 Followers on Jun 02, 2009. Estimated reading time: less than one minute |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

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.

Rate this Article

Adoption Stage
Style

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

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT