我将不胜感激任何帮助 - 我确信这是一个简单的错误。
我的应用程序的位置是C:\sanj\rubyjobs
。我已经在默认位置成功安装了 ImageMagick C:\Program Files (x86)\ImageMagick
:.
我还通过运行安装了 rmagick gem install rmagick --local
gem C:\sanj\rubyjobs\vendor\RMagick Extract
。
运行时bundle install
,我收到以下错误:
C:/Sanj/Ruby192/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:/Sanj/Ruby192/bin/ruby
Gem files will remain installed in C:/Sanj/Ruby192/lib/ruby/gems/1.9.1/gems/rmagick-2.13.1 for inspection.
Results logged to C:/Sanj/Ruby192/lib/ruby/gems/1.9.1/gems/rmagick-2.13.1/ext/RM
agick/gem_make.out
设置:Windows Vista 64 位、Ruby 1.9.2、Rails 3、Heroku
编辑
当我identify -version
从 ruby 命令提示符运行时,我得到: 版本:ImageMagick 6.5.6-8 2009-10-03 Q8 OpenMP http://www.imagemagick.org
版权所有:版权所有 (C) 1999-2009 ImageMagick Studio LLC
如果安装了ImageMagick并且提示找到它,为什么它说它无法获取版本?