randym/axlsx — Issue #10: Cannot get windows gem to install on windows
Author: dkmdnielsen
Created: 2011-12-31 13:47:12+00:00
State: open

I'm really looking forward to using your library, but I cannot get it to install. Your assistance is very much appreciated.

I have rmagick installed as evidenced by:

```windows
D:\Ruby\Projects\AAN\lib\bin>gem list rm
*** LOCAL GEMS ***
rmagick (2.12.0 mswin32)
```

But when attempt to install your gem, I get this blasted message.

```windows
D:\Ruby\Projects\AAN\lib\bin>gem install axlsx
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing axlsx:
ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
Invalid drive specification.
Unable to get ImageMagick version
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

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
--without-make-prog
--srcdir=.
--curdir
--ruby=c:/ruby/bin/ruby

Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.13.1 for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
```

ImageMagic is in the path, as evidenced here.

```windows
D:\Ruby\Projects\AAN\lib\bin>path
PATH=c:\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\pw\adm;c:\pw\pst;C:\PW\firstprep;c:\pw\ls;c:
\pw\ls\system;C:\Program Files\Common Files;C:\Program Files\Common Files\CMS Direct;C:\Program Files\Common Files\First
logic;C:\Program Files\Common Files\Business Objects\License Manager;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Progr
am Files\Common Files\Group1\Runtime;C:\Program Files\Microsoft SQL Server\90\Tools\binn;C:\devkit\bin;C:\devkit\mingw\m
ingw32\bin;C:\Program Files\ImageMagick-6.5.6-Q8;;C:\PW\rapid;
```