# Building RMagick on Mac OS X

**URL:** <https://www.ruby-forum.com/t/building-rmagick-on-mac-os-x/177679>\
**Category:** Rails\
**Created:** [October 21, 2009, 9:31pm UTC](https://www.ruby-forum.com/t/building-rmagick-on-mac-os-x/177679 "2009-10-21T21:31:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RubyonRails\_newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Post date:** [October 21, 2009, 9:31pm UTC](https://www.ruby-forum.com/t/building-rmagick-on-mac-os-x/177679/1 "2009-10-21T21:31:12Z")

</div>

Hi There,

I’m trying to implement a captcha, but am having a few issues with the  
installation,

from usr/local (following to osx instructions on hivelogic:

> **[Dan Benjamin](https://danbenjamin.com)**
>
> Dan Benjamin's personal website.

However - when I run the first line:  
curl -O  
[http://download.savannah.gnu.org/releases/freetype/freetype-2.1.10.tar.gz](http://download.savannah.gnu.org/releases/freetype/freetype-2.1.10.tar.gz)

I get error message: curl: (23) Failed writing body

when i put ‘sudo’ in front, nothing seems to happen.

ANy ideas?

Or - has anyone successfully done this on Ruby on rails?

If so - which site is the best (and easiest) to get it up and running?

thanks

---

<div class="post-metadata">

**Author:** ![RubyonRails\_newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Post date:** [October 21, 2009, 10:41pm UTC](https://www.ruby-forum.com/t/building-rmagick-on-mac-os-x/177679/2 "2009-10-21T22:41:27Z")

</div>

> I’m trying to implement a captcha, but am having a few issues with the  
> installation,
> 
> from usr/local (following to osx instructions on hivelogic:  
> [Dan Benjamin](http://hivelogic.com/articles/building-rmagick-on-mac-os-x/)
> 
> However - when I run the first line:  
> curl -O [http://download.savannah.gnu.org/releases/freetype/freetype-2.1.10.tar.gz](http://download.savannah.gnu.org/releases/freetype/freetype-2.1.10.tar.gz)
> 
> I get error message: curl: (23) Failed writing body

Don’t know what that error means (man page should tell you i would  
think), but you can always just download it manually and keep going…

This is what I used long ago when I set it up (based on hivelogic and  
some other stuff). Start reading at the “freetype” section and stop  
after ImageMagick is installed…

[http://pjkh.com/articles/2007/01/15/building-rails-and-its-friends-on-osx](http://pjkh.com/articles/2007/01/15/building-rails-and-its-friends-on-osx)

-philip

---

<div class="post-metadata">

**Author:** ![RubyonRails\_newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Post date:** [October 21, 2009, 11:40pm UTC](https://www.ruby-forum.com/t/building-rmagick-on-mac-os-x/177679/3 "2009-10-21T23:40:34Z")

</div>

Thanks Philip - i’ll take a look.

thanks.
