我已經GOOGLE了這個錯誤幾次,並得到了從他們的網站安裝rMagick win-32的說明。然而,win32版本看起來有些偏差,並且是爲Ruby 1.8.6而製作的,因爲我的版本是1.9.3。無法獲取ImageMagick版本*** extconf.rb失敗***
有人可以幫我安裝這顆寶石嗎?我真的不能在我的個人電腦上安裝imageMagick,因爲在接下來的幾周裏(代碼分配,你知道我會怎麼做)代碼會被移到其他PC等等。與此同時,它似乎imageMagick可以隨着這個寶石(這是迄今爲止我的情況下最好的選擇)安裝。儘管如此,我無法弄清楚這個錯誤,因爲當它涉及到這些事情時我是一個相當大的n00b。
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
Ongeldige stationsspecificatie.
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/gems/1.9
.1/gems/rmagick-2.13.1 for inspection.
Results logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rmagick-2
.13.1/ext/RMagick/gem_make.out
An error occured while installing rmagick (2.13.1), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling.