# Problem installing RMagick gem

**URL:** <https://www.ruby-forum.com/t/problem-installing-rmagick-gem/113692>\
**Category:** Rails\
**Created:** [September 4, 2007, 12:47am UTC](https://www.ruby-forum.com/t/problem-installing-rmagick-gem/113692 "2007-09-04T00:47:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [September 4, 2007, 12:47am UTC](https://www.ruby-forum.com/t/problem-installing-rmagick-gem/113692/1 "2007-09-04T00:47:27Z")

</div>

Hi,  
I have problems installing problem installing the RMagick gem.

My environment:

- winXP
- instantrails 1.4
- installed ImageMagick-6.3.0-7-Q8-windows-dll.exe

I have problems installing the gem:  
cmd I’m running:  
gem install rmagick --local --debug

Error:  
Exception `Errno::ENOENT' at F:/InstantRails/ruby/lib/ruby/site_ruby/ 1.8/rubygems/config_file.rb:50 - No such file or directory - C:\Documents and Settings\Daniel/.gemrc Exception`Zlib::BufError’ at F:/InstantRails/ruby/lib/ruby/site\_ruby/  
1.8/rubygems/package.rb:348 - buffer error  
ERROR: Error installing gem rmagick[.gem]: buffer error

Does it ring a bell to anybody?

Thanks…regards Daniel

---

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [September 4, 2007, 11:36am UTC](https://www.ruby-forum.com/t/problem-installing-rmagick-gem/113692/2 "2007-09-04T11:36:05Z")

</div>

DanielB wrote:

> Hi,  
> I have problems installing problem installing the RMagick gem.
> 
> My environment:
> 
> - winXP
> - instantrails 1.4
> - installed ImageMagick-6.3.0-7-Q8-windows-dll.exe
> 
> I have problems installing the gem:  
> cmd I’m running:  
> gem install rmagick --local --debug
> 
> Error:  
> Exception `Errno::ENOENT' at F:/InstantRails/ruby/lib/ruby/site_ruby/ 1.8/rubygems/config_file.rb:50 - No such file or directory - C:\Documents and Settings\Daniel/.gemrc Exception `Zlib::BufError’ at F:/InstantRails/ruby/lib/ruby/site\_ruby/  
> 1.8/rubygems/package.rb:348 - buffer error  
> ERROR: Error installing gem rmagick[.gem]: buffer error
> 
> Does it ring a bell to anybody?
> 
> Thanks…regards Daniel

This is a much-asked about issue - there was a problem with the latest  
release of rmagick for windows. They released a special zip that had a  
particular install of imagemagick that was supposed to be installed  
first, that fixed it. However, they’ve also released a new version of  
rmagick for windows, so maybe you should try installing that before  
reinstalling imagemagick:  
[http://rubyforge.org/frs/?group\_id=12](http://rubyforge.org/frs/?group_id=12)
