我想在Windows上安装rmagick for rails应用程序。在Windows上rmagick问题
我已经下载了以下文件,并按照说明:
http://rubyforge.org/frs/download.php/64917/RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip
如果我运行IRB和require 'rubygems'; require 'RMagick'
,它的确定。
但如果我require 'RMagick'
在轨控制台,它给了我下面的错误:
irb(main):001:0> require 'RMagick'
LoadError: no such file to load -- RMagick
from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.
0.4/lib/active_support/dependencies.rb:239:in `require'
from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.
0.4/lib/active_support/dependencies.rb:239:in `require'
from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.
0.4/lib/active_support/dependencies.rb:225:in `load_dependency'
from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.
0.4/lib/active_support/dependencies.rb:596:in `new_constants_in'
from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.
0.4/lib/active_support/dependencies.rb:225:in `load_dependency'
from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.
0.4/lib/active_support/dependencies.rb:239:in `require'
from (irb):1
这是为什么?