0
Macにimagemagick @ 6をインストールするとこのエラーが発生します。これは私のローカルマシン上のレールアプリを実行するのを止めている。いくつかのオプションを試してみましたが、bashプロファイルの変更、設定への追加などがありました。宝石とrmvファイルを削除して、もう一度やり直してみました。MacOSでrmagicとimagemagickをインストールする際にエラーが発生するSierra
これは私が毎回得るものです。
第brew update
で
Building native extensions with: '--with-opt-lib /usr/local/opt/[email protected]/lib --with-opt-include /usr/local/opt/[email protected]/include'
This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb --with-opt-lib /usr/local/opt/[email protected]/lib --with-opt-include /usr/local/opt/[email protected]/include
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:1674:in `dir_config': undefined method `split' for true:TrueClass (NoMethodError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:2378:in `init_mkmf'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:2415:in `<module:MakeMakefile>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:47:in `<top (required)>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from extconf.rb:4:in `<main>'
Gem files will remain installed in /Users/neves/.rvm/gems/[email protected]/gems/rmagick-2.16.0 for inspection.
Results logged to /Users/neves/.rvm/gems/[email protected]/gems/rmagick-2.16.0/ext/RMagick/gem_make.out