# Rake-compiler 0.4.0 Released

**URL:** <https://www.ruby-forum.com/t/rake-compiler-0-4-0-released/164719>\
**Category:** Ruby\
**Created:** [April 4, 2009, 6:25pm UTC](https://www.ruby-forum.com/t/rake-compiler-0-4-0-released/164719 "2009-04-04T18:25:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [April 4, 2009, 6:25pm UTC](https://www.ruby-forum.com/t/rake-compiler-0-4-0-released/164719/1 "2009-04-04T18:25:13Z")

</div>

rake-compiler version 0.4.0 has been released!

- [http://github.com/luislavena/rake-compiler](http://github.com/luislavena/rake-compiler)
- [http://rubyforge.org/projects/rake-compiler](http://rubyforge.org/projects/rake-compiler)

= 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  
Windows).

- 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  
Linux).

Changes:

== 0.4.0 2009-04-03

=== Enhancements

- Bended the convention for extension folder.  
Defining ext\_dir for custom extension location.

- 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  
1.9.1

=== Bugfixes

- Better output of Rake development tasks (Thanks to Luis  
Parravicini).
- Proper usage of Gem::Platform for native gems (Thanks to Dirkjan  
Bussink).
- Don’t use autoload for YAML (present problems with Ruby 1.9.1).

---

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [April 5, 2009, 10:10pm UTC](https://www.ruby-forum.com/t/rake-compiler-0-4-0-released/164719/2 "2009-04-05T22:10:45Z")

</div>

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!
