安装gem'scrapi'时出错

时间:2011-12-19 01:27:30

标签: ruby-on-rails ruby gem

我使用rubyinstaller安装了Ruby 1.9.3。

我执行:gem install scrapi

我得到以下内容:

Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/ffi-1.0.1
1 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/ffi-1.0.11/ext/ffi_c/gem_m
ake.out

gem_make.out文件包含以下荒谬信息:

C:/Ruby193/bin/ruby.exe extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include... no
checking for rb_thread_blocking_region()... yes
checking for ruby_native_thread_p()... yes
checking for rb_thread_call_with_gvl()... yes
creating extconf.h
creating Makefile

make
libffi.gnu.mk:24: *** target pattern contains no `%'.  Stop.

有什么想法吗?

1 个答案:

答案 0 :(得分:2)