2016-11-08 1 views
0

redmine 용 모든 루비 보석 이온 윈도우를 설치하려고합니다. 매번 내가 예외 아래에 무엇입니까rmagick 보석이 Windows에 설치되지 않았습니다

C:\xampp\htdocs\dev-ruby\redmine>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:/xampp/ruby/RailsInstaller/Ruby2.2.0/bin/ruby.exe extconf.rb 
*** 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:/xampp/ruby/RailsInstaller/Ruby2.2.0/bin/$(RUBY_BASE_NAME) 
extconf.rb:141:in ``': No such file or directory - identify -version (Errno::ENOENT) 
from extconf.rb:141:in `configure_compile_options' 
from extconf.rb:16:in `initialize' 
from extconf.rb:548:in `new' 
from extconf.rb:548:in `<main>' 
extconf failed, exit code 1 
Gem files will remain installed in C:/xampp/ruby/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rmagick-2.16.0 for inspection. 
Results logged to C:/xampp/ruby/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/extensions/x86-mingw32/2.2.0/rmagick-2.16.0/gem_make.out 

답변

0

rmagick는 ImageMagick 단지 래퍼입니다. extconf.rb은 ImageMagick에서 제공하는 프로그램 중 하나 인 identify을 실행하여 ImageMagick의 존재 여부를 확인합니다. 찾을 수 없으므로 No such file or directory 메시지입니다.

ImageMagick을 설치하고 해당 실행 파일이 경로에 있어야합니다.

+0

감사합니다 맥스, 이미 ImageMagick을 설치 했으니 공유 할 수 있습니까? 어떻게 실행 파일을 설정할 수 있습니까? –

+0

http://stackoverflow.com/questions/9546324/adding-directory-to-path-environment-variable-in-http : windows – Max

+0

Hello Max, 환경 변수가 이미 설정되어 있고 c :/ImageMagick에 ImageMagick을 설치 했는데도 여전히 같은 문제가 있음 –

관련 문제