我已经用谷歌搜索了几次这个错误,并获得了从他们的网站安装 rMagick win-32 的说明。然而,win32 版本看起来已经过时了,并且是为 Ruby 1.8.6 制作的,因为我有 1.9.3。
有人可以帮我安装这个宝石吗?我真的不能为此在我的 PC 上安装 imageMagick,因为代码将在接下来的几周内多次移动到其他 PC 等上(学校作业,你知道我是怎么做的)。并且看起来 imageMagick 可以与这个 gem 一起安装(在我的情况下这是迄今为止最好的选择)。尽管如此,我无法弄清楚这个错误,因为在这些事情上我是一个相当大的 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.