Forum: Ruby rake-compiler 0.4.0 Released

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Luis L. (Guest)
on 2009-04-04 20:25
(Received via mailing list)
rake-compiler version 0.4.0 has been released!

* <>
* <>

= rake-compiler

rake-compiler aims to help Gem developers while dealing with Ruby C
extensions, simplifiying the code and reducing the duplication.

It follows *convention over configuration* and set an standarized
structure to build and package C extensions in your gems.

This is the result of expriences dealing with several Gems that required
native extensions across platforms and different user configurations
where details like portability and clarity of code were lacking.

== An Overview

Let's summarize what rake-compiler provides:

* No custom rake tasks required. Less code duplication and errors.

* Painlessly build extensions on different platforms (Linux, OSX and

* Allow multiple extensions be compiled inside the same gem.

* Mimics RubyGems installation process, so helps as test environment.

* Simplify cross platform compilation of extensions (target Windows from


== 0.4.0  2009-04-03

=== Enhancements

  * Bended the convention for extension folder.
    Defining <tt>ext_dir</tt> for custom extension location.'my_extension') do |ext|
      ext.ext_dir = 'custom/location'         # look into
    end                                       # instead of

  * Better detection of mingw target across Linux/OSX.
    Exposed it as Rake::ExtensionCompiler

  * Display list of available tasks when calling rake-compiler script

  * Track Ruby full versioning (x.y.z).
    This will help the compilation of extensions targetting 1.8.6/7 and

=== Bugfixes

  * Better output of Rake development tasks (Thanks to Luis
  * Proper usage of Gem::Platform for native gems (Thanks to Dirkjan
  * Don't use autoload for YAML (present problems with Ruby 1.9.1).
Tim H. (Guest)
on 2009-04-06 00:10
(Received via mailing list)
Luis L. wrote:
> rake-compiler version 0.4.0 has been released!

Very timely, Luis! I just started a new project and I'm using
rake-compiler from the start. Thanks!
This topic is locked and can not be replied to.