Hello,
I just checked out the approach used to deliver the gems and found that Ruby 1.9 versions of the gems are uploaded to
RubyForge and append "rb191" to the platform section of the gemname.
I've exposed the lack of dual support for binary gems to RubyGems development list a while ago:
http://rubyforge.org/pipermail/rubygems-developers/2009-April/004522.html
This specific issue lead to Aaron Patterson come up with the concept of "fat-binaries"
http://tenderlovemaking.com/2009/05/07/fat-binary-gems-make-the-rockin-world-go-round/
Which, as you can read there, extended a tool I've created called rake-compiler.
http://github.com/luislavena/rake-compiler/
In latest version of rake-compiler (0.6.0) this functionality has been integrated, and you can read about it in the
instructions (README)
Even more, you can take usage of rake-compiler cross-platform compilation functions to deliver native gems for mswin32
(current One-Click installer) and mingw32 (newer RubyInstaller releases).
Please take a look to the projects that are using rake-compiler in the Wiki for idea of the usage:
http://wiki.github.com/luislavena/rake-compiler/projects-using-rake-compiler
Sqlite3-ruby and mysql-gem are using it.
Regards and thank you in advance for your time. |