Answer the question
In order to leave comments, you need to log in
How to fix gem install rmagick -v 2.15.4 error?
Good afternoon!
Faced a problem while installing on centos 7 gem install rmagick -v 2.15.4
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for gcc... yes
checking for Magick-config... no
checking for pkg-config... yes
...
Gem files will remain installed in /usr/local/share/gems/gems/rmagick-2.15.4 for inspection.
Results logged to /usr/local/share/gems/gems/rmagick-2.15.4/ext/RMagick/gem_make.out
Answer the question
In order to leave comments, you need to log in
The installer complains about the dependency - Magick-config. Install it and run the installation again. If the package is already installed in the system, then most likely the compiler does not see it, write the path to it in /usr/bin/ruby/extconf.rb
For more details on the cause of the problem, read the log /usr/local/share/gems/gems/ rmagick-2.15.4/ext/RMagick/gem_make.out
PS Here it is advised to check the ruby version - there may be jambs with it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question