总是报错,大家如何解决的?
恩,看到了,只是我下载的 ImageMagick 怎么没有 include 和 lib 目录? 我下载的是 ImageMagick-6.7.6-9-Q16-windows-dll.exe
Microsoft Windows XP 版本 5.1.2600 版权所有 1985-2001 Microsoft Corp.
D:\Code>gem install rmagick
Building native extensions. This could take a while...
Successfully installed rmagick-2.13.1
1 gem installed
Installing ri documentation for rmagick-2.13.1...
Building YARD (yri) index for rmagick-2.13.1...
[error]: Unhandled exception in YARD::Handlers::C::MixinHandler:
[error]: in ext/RMagick/rmmain.c
:611:
611: rb_include_module(Class_Pixel, observable);
[error]: ArgumentError: NilClass is not a valid CodeObject
[error]: Stack trace:
D:/Ruby193/lib/ruby/gems/1.9.1/gems/yard-0.8.1/lib/yard/code_objects/bas
e.rb:23:in push'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/yard-0.8.1/lib/yard/handlers/c/mixin
_handler.rb:10:in
block (2 levels) in class:MixinHandler'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/yard-0.8.1/lib/yard/handlers/c/mixin
_handler.rb:7:in scan'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/yard-0.8.1/lib/yard/handlers/c/mixin
_handler.rb:7:in
block in class:MixinHandler'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/yard-0.8.1/lib/yard/handlers/process
or.rb:114:in block (2 levels) in process'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/yard-0.8.1/lib/yard/handlers/process
or.rb:112:in
each'
Installing RDoc documentation for rmagick-2.13.1...