# Problem installing rmagick in windows

**URL:** <https://www.ruby-forum.com/t/problem-installing-rmagick-in-windows/111199>\
**Category:** Rails\
**Created:** [August 3, 2007, 7:21pm UTC](https://www.ruby-forum.com/t/problem-installing-rmagick-in-windows/111199 "2007-08-03T19:21:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [August 3, 2007, 7:21pm UTC](https://www.ruby-forum.com/t/problem-installing-rmagick-in-windows/111199/1 "2007-08-03T19:21:01Z")

</div>

Hi - i’ve not done much with gems and am struggling with this one.  
([rubygems.org](http://rubygems.org) seems to be down)

I’ve installed imagemagick with

ruby script/plugin install  
[http://opensvn.csie.org/rails\_imagemagick\_tag/imagemagick\_tag/](http://opensvn.csie.org/rails_imagemagick_tag/imagemagick_tag/)

That seemed to go ok - it looked like it was adding a few files  
somewhere anyway.

Then, i tried to install the rmagick gem with

C:\code\InstantRails\rails\_apps\newspipe\>gem install --remote rmagick

It thinks for a while and then gives me this:

Building native extensions. This could take a while…  
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)  
ERROR: Failed to build gem native extension.

ruby gem\_extconf.rb install rmagick

sh configure

gem\_extconf.rb:38: undefined method `exitstatus’ for nil:NilClass  
(NoMethodError)

Gem files will remain installed in  
C:/code/InstantRails/ruby/lib/ruby/gems/1.8/gems/rmagick-1.15.8 for  
inspection.  
Results logged to  
C:/code/InstantRails/ruby/lib/ruby/gems/1.8/gems/rmagick-1.15.8/gem\_make.out

Does anyone know what i’m doing wrong? Is this the right way to add a  
gem to my app?

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [August 3, 2007, 7:55pm UTC](https://www.ruby-forum.com/t/problem-installing-rmagick-in-windows/111199/2 "2007-08-03T19:55:42Z")

</div>

You can’t build the newest version of rmagick on Windows.

You need to download the win32 gem from Rubyforge. It’s an older  
version,  
they seem to have lost their Win32 maintainer.

Jason

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [August 6, 2007, 10:43am UTC](https://www.ruby-forum.com/t/problem-installing-rmagick-in-windows/111199/3 "2007-08-06T10:43:17Z")

</div>

Jason R. wrote:

> You can’t build the newest version of rmagick on Windows.
> 
> You need to download the win32 gem from Rubyforge. It’s an older  
> version,  
> they seem to have lost their Win32 maintainer.
> 
> Jason

Ah…ok, that makes me feel a bit less dumb. Thanks a lot!
