My env:rvm ruby 1.9.2
, and I build ImageMagick 6.7.4-6
from source.
When I install rmagick, it says:
/home/rocky/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError) You have to install development tools first.
However, I also have ruby 1.8.7
in my rvm, and the rmagick can be installed correctly in 1.8.7. So I'm very confused what I missed in 1.9.2.