On Thu, Mar 3, 2011 at 5:40 PM, Mr Eiland <mreiland1978 / yahoo.com> wrote:
> Title says it all, I'm running ruby extconf.rb in a visual studio 2008
> pro command prompt and the resulting Makefile is not for nmake.
>
> All I'm wanting is to create a single function that I can call into.
> I'm not willing to use SWIG, I see no reason to add more moving parts
> for something that should be so simple.
>
> Ultimately, if I could find documentation on how to set up the visual
> studio C++ environment so that I could compile the extension without the
> use extconf.rb, I would prefer that, but using extconf.rb is the next
> best thing.

Since no one's chimed in yet, I thought I would just post to say you'd
be best served installing the RubyInstaller DevKit, which includes gcc
and GNU make. Others might know of ways to integrate Ruby with VS, but
the conventional wisdom seems to be to use DevKit.