Error Installing Rmagick Windows
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might gem install rmagick windows have Meta Discuss the workings and policies of this site About error installing rmagick mac Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads error installing rmagick error failed to build gem native extension 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
Error Installing Rmagick Ubuntu
programmers, just like you, helping each other. Join them; it only takes a minute: Sign up I can't install rmagick gem on windows up vote 9 down vote favorite 8 I used ruby 1.9.2 and rails 3.0.3. iam trying to install rmagick gem but when i run bundle install I got an error tells me: Installing rmagick-win32 rmagick (2.12.1) with native extensions c:/Ruby192/lib/ruby/site_ruby /1.9.1/rubygems/installer.rb:529:in `rescue in block in build_extensions': ERROR : Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) c:/Ruby192/bin/ruby.exe extconf.rb checking for Ruby version >= 1.8.5... yes checking for stdint.h... *** 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=c:/Ruby192/bin/ruby c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to genera te an executable file. (RuntimeError) You have to install development tools first. from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:452:in `try_cpp' from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:834:in `block in have_header' from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in checking_for' from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels) in postp one' from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open' from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpone' from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open' from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:276:in `postpone' from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for' from c:/Ruby192/lib/ruby/1.9.1/mkmf.rb:833:in `have_header' from extconf.rb:171:in `
here for a quick overview of the site Help Center Detailed answers install rmagick ubuntu to any questions you might have Meta Discuss the
Install Rmagick Mac
workings and policies of this site About Us Learn more about Stack Overflow the company
Gem Install Rmagick
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 http://stackoverflow.com/questions/4873276/i-cant-install-rmagick-gem-on-windows 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 How to install rmagick gem on Windows? up vote 8 down vote favorite 1 How do I install rmagick gem for Windows XP? http://stackoverflow.com/questions/14593055/how-to-install-rmagick-gem-on-windows I already installed ImageMagick with the header files, and I installed RailsInstaller.org which comes with DevKit. I don't know where to look to fix these errors. C:\RailsInstaller\ImageMagick-6.8.2-Q16>ruby -v ruby 1.9.3p125 (2012-02-16) [i386-mingw32] C:\RailsInstaller\ImageMagick-6.8.2-Q16>gem -v 1.8.16 C:\RailsInstaller\ImageMagick-6.8.2-Q16>path=%PATH%;C:\RailsInstaller\ImageMagick-6.8.2-Q16 C:\RailsInstaller\ImageMagick-6.8.2-Q16>identify Version: ImageMagick 6.8.2-0 2013-01-24 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC C:\RailsInstaller\ImageMagick-6.8.2-Q16>gem install rmagick Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. C:/RailsInstaller/Ruby1.9.3/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-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=C:/RailsInstaller/Ruby1.9.3/bin/ruby Gem files will remain installed in C:/RailsInstaller/Ruby1.9.3/lib/ruby/gem
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 http://stackoverflow.com/questions/35026112/how-to-install-rmagick-on-windows-10 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 http://codeofalice.com/code/installing-rmagick-on-windows-7/ 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 installing How to install rmagick on windows 10 up vote 2 down vote favorite I am trying to install a gem which has rmagick as a dependency on windows 10. But each time I try to install it, this error appears: ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20160126-6648-ks1v6.rb extconf.rb -- with-opt-dir=C:/ImageMagick *** extconf.rb failed *** Could not error installing rmagick 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 --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=C:/Ruby22-x64/bin/$(RUBY_BASE_NAME) extconf.rb:110:in ``': No such file or directory - identify -version (Errno::ENOENT) from extconf.rb:110:in `configure_compile_options' from extconf.rb:16:in `initialize' from extconf.rb:517:in `new' from extconf.rb:517:in `
SpreeCommerce on my Windows 7 laptop, the problem that stumped me the longest was the ‘spree install my_store‘ command that gave me the error: 'identify' is not recognized as an internal or external command,
operable program or batch file.
Image magick must be installed. I tried running ‘gem install rmagick‘ first, which installed something, but it was still not sufficient to let me run the ‘spree install my_store‘ command without aborting in an error. After much searching on Google and concatenating all these outdated sources, I finally figured it out. Steps (and troubleshooting details) are below. Instructions: Install the Ruby DevKit if you do not have it already. Since I used RailsInstaller to install Ruby on Rails on my laptop, it was already included in the default directory ‘C:\RailsInstaller\DevKit‘. Otherwise, find the .exe at the RubyInstallers downloads. To install, Download it, run it to extract it somewhere (permanent). Then cd to it, run “ruby dk.rb init” and “ruby dk.rb install” to bind it to ruby installations in your path. [source] Install a compatible version of ImageMagick on your Windows machine. The version that worked for me with Ruby v1.9.3v484 and Rails v4.0.4 was ImageMagick v6.7.7.9, 32-bit (direct download here). Supposedly, ImageMagick v6.7.9.9 is the latest version that will work. [source] For different archived versions, see here. The most recent ImageMagick v6.8.x gave me errors which made me go hunting for more troubleshooting instructions. If the ImageMagick installer hangs when you try to open it from your downloads folder, try right-clicking and ‘Run as administrator‘. Make sure to install 32-bit even if you have a 64-bit machine. Installing the 64-bit version will make your rmagick gem installation fail. [source] If you have a previous installation of ImageMagick, make sure to uninstall it first. If you can't find the ImageMagick uninstaller in your ‘Add/Remove Programs‘, check your installation folder (e.g. C:\ImageMagick) for unins000.exe. Deleting the installation folder will not properly remove all registry and path settings. [source] If you have a previous incompatible rmagick version installed, you can uninstall it using the c