Whenever I try to install a gem that doesn't have a precompiled binary
available I get an error like this:

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --srcdir=.
        --curdir
        --ruby=c:/server/ruby/bin/ruby

This is coming out of the call to the extconf.rb for the gem. If I try
to execute that directly, the options don't seem to change. For
instance:

ruby ext/extconf.rb --without-opt-include=c:/server/mingw/include

I run that command and the error report shows the same, no change to the
reported --without-opt-include configuration option.

So it doesn't appear as if I'm calling it correctly since the custom
configuration option is not making it through.

More importantly, where are the default configuration options stored,
and how can I change them to point to the MinGW files for make-ing and
compiling?

thanks.
-- 
Posted via http://www.ruby-forum.com/.