An Error Occured While Installing Rmagick 2.13.1
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error occurred while installing rmagick up vote 11 down vote favorite 2 I'm getting following error while trying to install Redmine on Windows Server 2008 R2. C:\Ruby\Apps\Redmine>rake db:migrate ←[31mCould not find gem 'rmagick (>= 2.0.0) x86-mingw32' in the gems available o n this machine.←[0m ←[33mRun `bundle install` to install missing gems.←[0m C:\Ruby\Apps\Redmine>bundle install Fetching gem metadata from http://rubygems.org/....... Using rake (0.9.2.2) Using i18n (0.6.1) Using multi_json (1.3.6) Using activesupport (3.2.8) Using builder (3.0.0) Using activemodel (3.2.8) Using erubis (2.7.0) Using journey (1.0.4) Using rack (1.4.1) Using rack-cache (1.2) Using rack-test (0.6.2) Using hike (1.2.1) Using tilt (1.3.3) Using sprockets (2.1.3) Using actionpack (3.2.8) Using mime-types (1.19) Using polyglot (0.3.3) Using treetop (1.4.10) Using mail (2.4.4) Using actionmailer (3.2.8) Using arel (3.0.2) Using tzinfo (0.3.33) Using activerecord (3.2.8) Using activeresource (3.2.8) Using bundler (1.2.1) Using coderay (1.0.7) Using fastercsv (1.5.5) Using rack-ssl (1.3.2) Using json (1.7.5) Using rdoc (3.12) Using thor (0.16.0) Using railties (3.2.8) Using jquery-rails (2.0.3) Using metaclass (0.0.1) Using mocha (0.12.3) Using mysql (2.8.1) Using net-ldap (0.3.1) Using pg (0.14.1) Using ruby-openid (2.1.8) Using rack-openid (1.3.1) Using rails (3.2.8) Installing rmagick (2.13.1) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension . C:/Ruby187/bin/ruby.exe extconf.rb checking for Ruby version >= 1.8.5... yes Invalid drive specification. Unable to get ImageMagick version *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-incl
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack http://stackoverflow.com/questions/12767133/error-occurred-while-installing-rmagick Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error installing rmagick: ERROR: Failed to build gem native extension up vote 32 down vote favorite 6 I am trying to run one project on my local machine. I http://stackoverflow.com/questions/19274293/error-installing-rmagick-error-failed-to-build-gem-native-extension installed Ruby and Rails on my Mac OS system. It is working properly. I can create a new project and can run it properly without any error, but when I try to run the existing project it says that we have to bundle install. When I run that command I get the following error: "An error occurred while installing rmagick (2.13.2), and Bundler cannot continue. Make sure that `gem install rmagick -v '2.13.2'` succeeds before bundling." When I run gem install rmagick -v '2.13.2' it gives me the following error: ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc-4.2... yes checking for Magick-config... no Can't install RMagick 2.13.2. Can't find Magick-config in /usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more detai
Hat Enterprise http://www.redmine.org/boards/2/topics/43141 Linux Server release 6.5. I am trying to install Redmine2.5.2 for past day.I had met an issue while using bundle http://d.hatena.ne.jp/katsuren/20121101/1351728100 install Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/rvm/rubies/ruby-1.9.3-p547/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for an error gcc... yes checking for Magick-config... no Can't install RMagick 2.13.2. Can't find Magick-config in /usr/lib64/ImageMagick-6.5.4/:/usr/local/rvm/gems/ruby-1.9.3-p547/bin:/usr/local/rvm/gems/ruby-1.9.3-p547@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p547/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/rvm/bin *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for an error occured more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/rvm/rubies/ruby-1.9.3-p547/bin/ruby extconf failed, exit code 1 Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rmagick-2.13.2 for inspection. Results logged to /usr/local/rvm/gems/ruby-1.9.3-p547/extensions/x86_64-linux/1.9.1/rmagick-2.13.2/gem_make.out An error occurred while installing rmagick (2.13.2), and Bundler cannot continue. Make sure that `gem install rmagick -v '2.13.2'` succeeds before bundling. How can I fix this? Replies (2) RE: Can't find Magick-config - Added by Jan Niggemann (redmine.org team member) about 2 years ago If you enter Can't find Magick-config in google, the first hit is: http://stackoverflow.com/questions/5201689/rmagick-gem-install-cant-find-magick-configIt suggests installing missing dev libraries, have you tried this? RE: Can't find Magick-config - Added by Syed Habib M
ERROR: Failed to build gem native extension. /usr/local/rbenv/versions/1.9.3-p286/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes extconf.rb:128: Use RbConfig instead of obsolete and deprecated Config. checking for gcc... yes checking for Magick-config... no Can't install RMagick 2.13.1. Can't find Magick-config in /usr/local/rbenv/versions/1.9.3-p286/bin:/usr/local/rbenv/libexec:/usr/local/rbenv/shims:/usr/local/rbenv/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/rbenv/versions/1.9.3-p286/bin/ruby Gem files will remain installed in /usr/local/rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/rmagick-2.13.1 for inspection. Results logged to /usr/local/rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/rmagick-2.13.1/ext/RMagick/gem_make.out An error occurred while installing rmagick (2.13.1), and Bundler cannot continue. Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling. ɤ ImageMagick-devel ʤȤ餷ǥȡ롣 # yum install ImageMagick-devel Ƥޤ gem install ʤ bundle install ʤ¹Ԥȡȡ뤬롣 ĥȤ Permalink | (0) | ȥåХå(0) | 09:01 Ȥ ѥкΤΥߡǤ⤷ƤⲿϤʤǤ ǧ ȥåХå - http://d.hatena.ne.jp/katsuren/20121101/1351728100 345 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCEQFjAA&url=http://d.hatena.ne.jp/katsuren/20120401/1333295850&ei=KweSUOqlCKTkmAXIzIAI&usg=AFQjCNE5Sd3GSd7woj58ZVdYlBI0ArWpPQ&sig2=n6YtGRCU9iYFXH1SjPaMwQ 221 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CCoQFjAB&url=http://d.hatena.ne.jp/katsuren/20110103/1294034578&ei=TNeRULukOIvvmAWFlICQAQ&usg=AFQjCNH6Fe0z-gP-n7NfCKP-QWuhs0ae0A&sig2=FyN7A7loo04nLGdH8IoGAw 171 http: