From: Gloria on
Hi there,
I get the following:

[root(a)li137-46 tenderlove-nokogiri-0e2a3d9]# rake-compiler
/usr/lib/ruby/gems/1.8/gems/rake-compiler-0.7.0/lib/rake/
extensioncompiler.rb:28:in `mingw_host': No MinGW tools or unknown
setup platform? (RuntimeError)
from /usr/lib/ruby/gems/1.8/gems/rake-compiler-0.7.0/bin/../tasks/bin/
cross-ruby.rake:40
from /usr/lib/ruby/gems/1.8/gems/rake-compiler-0.7.0/bin/rake-
compiler:21:in `load'
from /usr/lib/ruby/gems/1.8/gems/rake-compiler-0.7.0/bin/rake-
compiler:21
from /usr/bin/rake-compiler:19:in `load'
from /usr/bin/rake-compiler:19

It doesn't seem to matter if I install it via yum or gem, the same
error occurs.
Help!

Thank you in advance,
Gloria
From: Roger Pack on

> extensioncompiler.rb:28:in `mingw_host': No MinGW tools or unknown
> setup platform? (RuntimeError)
> from /usr/lib/ruby/gems/1.8/gems/rake-compiler-0.7.0/bin/../tasks/bin/

perhaps you are missing a dependency, like one that contains the word
"mingw"...
--
Posted via http://www.ruby-forum.com/.

From: Gloria on


I don't use MingW on Fedora. I don't want to cross compile for Windows
at all. I want to build natively, of course.
From: Luis Lavena on
On Jun 23, 7:48 pm, Gloria <gloriaj...(a)gmail.com> wrote:
> I don't use MingW on Fedora. I don't want to cross compile for Windows
> at all. I want to build natively, of course.

You only need to invoke rake-compiler if you want to setup a ruby for
cross compilation.

You also don't need to invoke "rake cross compile" when compiling
natively.

--
Luis Lavena
From: Gloria on
Thank you. I'm following nokigiri build instructions, and this was not
clear.
Gloria