[Rubyinstaller-devel] rake-compiler

Dominic Sisneros dsisnero at gmail.com
Thu Dec 4 21:22:00 EST 2008

I was trying to compile the curb gem and got it working after making some
changes.  When trying to
package it for windows from ubuntu intrepid I get the following error
because the ruby in ubuntu is
version 1.8.7 and I asked for the 1.8.6 version of ruby of ruby to
cross-compile with

dominics-linux:~/programming/repos/curb$ rake cross native gem
(in /home/dominic/programming/repos/curb)
cd tmp/i386-mswin32/curb_core
./rbconfig.rb:7: ruby lib version (1.8.6) doesn't match executable version
(1.8.7) (RuntimeError)
    from /usr/lib/ruby/1.8/mkmf.rb:4:in `require'
    from /usr/lib/ruby/1.8/mkmf.rb:4
    from /home/dominic/programming/repos/curb/ext/curb_core/extconf.rb:1:in
    from /home/dominic/programming/repos/curb/ext/curb_core/extconf.rb:1
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.8 -I.

(See full trace by running task with --trace)

So, when running rake cross native gem it should somehow use the rake
installed in ~/.rake-compiler
directory `.rake-compiler/ruby/ruby-1.8.6-p287/bin directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rubyinstaller-devel/attachments/20081204/c7c415b0/attachment.html>

More information about the Rubyinstaller-devel mailing list