From: Luis Lavena Date: 2010-10-28T08:20:12+09:00 Subject: Re: Problem installing win32-api gem on Windows On Oct 27, 5:19 pm, "Mike G." wrote: > I'm behind a firewall that prevents me from just doing >    gem install gem help install see --http-proxy and provide that during gem installation or set the HTTP_PROXY environment variable. gem install xxx --http-proxy http://firewallserver:port > So I downloaded the zip file for win32-api-1.0.4 (I know, it's an old > version, but it runs with our existing software--later versions changed > the api). > > I installed mingw on the windows target machine. > You didn't say which version of Ruby you're trying to compile win32- api for, so I assume is RubyInstaller and you installed the DevKit. > I got past numerous problems and persuaded it to build api.o from api.c > and then api.so from api.o.  But now when I do >     gem install win32-api-1.0.4.gem > it complains all over again that it can't find api.so. > All that could have been avoided, download win32-api gem and with RubyInstaller + DevKit you can issue: gem install --local win32-api-1.0.4.gem But, we need more information on which version of Ruby you're talking about. Preferably the output of "gem env" Saying this because win32-api pre-compiled gems do not include support for Ruby 1.9 (if that is your Ruby installation). -- Luis Lavena