これについて助けていただければ幸いです。これは単純な間違いだと確信しています。
私のアプリの場所はですC:\sanj\rubyjobs
。ImageMagickをデフォルトの場所に正常にインストールしました:C:\Program Files (x86)\ImageMagick
。
gem install rmagick --local
また、で実行してrmagickthegemをインストールしました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
編集rubyコマンドプロンプトから
実行するとidentify -version
、次のようになります。バージョン:ImageMagick 6.5.6-8 2009-10-03 Q8 OpenMP http://www.imagemagick.org
Copyright:Copyright(C)1999-2009 ImageMagick Studio LLC
ImageMagickがインストールされていて、プロンプトがそれを見つけている場合、なぜバージョンを取得できないと言っているのですか?