rmagick安装失败

时间:2012-10-20 23:29:25

标签: ruby-on-rails bundler

我使用BitBucket + Source Tree克隆了两个ruby项目。当我执行bundle install时,它在一个项目目录中成功运行,但在其他项目目录中失败并出现以下错误:

Installing rmagick (2.13.1) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /Users/xyz/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb 
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no

任何人都可以帮我确定问题吗?

1 个答案:

答案 0 :(得分:3)

尝试:

brew install imagemagick