I followed the installation of RMagick for OSX:
http://rmagick.rubyforge.org/install-faq.html#osx
I have done the Imagemagick installation from John Maddux (solution to install ImageMagick on OSX without using MacPorts)
Here's my terminal window:
Suebphatt:~ suebphattleelertphong$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
Suebphatt:~ suebphattleelertphong$ rails -v
Rails 3.0.3
Suebphatt:~ suebphattleelertphong$ gem -v
1.3.7
Suebphatt:~ suebphattleelertphong$ gem install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
Suebphatt:~ suebphattleelertphong$
Thanks a lot for help,
Suebphatt
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…