Rake-compiler 0.7.5 Released

rake-compiler version 0.7.5 has been released!

= rake-compiler

rake-compiler aims to help Gem developers deal with Ruby extensions,
simplifying
code and reducing duplication.

It followss convention over configuration and sets a standardized
structure to
build and package both C and Java extensions in your gems.

This is the result of experiences 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).

  • Painlessly build extensions for different Ruby implementations (JRuby,
    Rubinius and MRI).

  • Allow multiple extensions be compiled inside the same gem.

  • Mimics RubyGems installation process, so helps as a test environment.

  • Simplify cross platform compilation of extensions (target Windows from
    Linux).

Changes:

=== 0.7.5 / 2010-11-25

  • Enhancements:

    • Promoted stable version for cross-compilation to 1.8.6-p398. Closes
      GH-19
  • Bugfixes:

    • Generate a fake.rb compatible with Ruby 1.9.2. Closes GH-25
    • fake.rb will not try to mimic Ruby’s own fake to the letter. Closes
      GH-28
    • Expand symlinks for tmp_dir. Closes GH-24
    • Silence make output during rake-compiler invocation.
    • Usage of Gem.ruby instead of RbConfig ruby_install_name
      This solve issues with ruby vs. ruby.exe and jruby.exe
  • Experimental:

    • Allow setting of HOST during cross-compilation. This enable usage
      of mingw-w64 compiler and not the first one found in the PATH.

      rake-compiler cross-ruby VERSION=1.9.2-p0 HOST=i686-w64-mingw32
      rake-compiler cross-ruby HOST=i386-mingw32 (OSX mingw32 port)
      rake-compiler cross-ruby HOST=i586-pc-mingw32 (Debian/Ubuntu
      mingw32)