Feature Requests: Browse | Submit New | Admin

[#26973] Provide unified Ruby 1.8 and 1.9 binaries for Windows users.

Date:
2009-08-21 14:50
Priority:
3
Submitted By:
Luis Lavena (luislavena)
Assigned To:
Praveen Devarao (praveend)
Category:
Ruby driver
State:
Open
Summary:
Provide unified Ruby 1.8 and 1.9 binaries for Windows users.

Detailed description
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.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-08-22 15:10
Sender: Praveen Devarao

Hi Luis,

Thanks for introducing to rake-compiler. Will have a look at
rake-compiler and check how we can use it.

Thanks

Praveen

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
assigned_tonone2009-08-22 15:10praveend