[英]Error installing gem 'scrapi'
I have installed Ruby 1.9.3 using the rubyinstaller. 我使用rubyinstaller安装了Ruby 1.9.3。
I execute: gem install scrapi
我执行: gem install scrapi
I get the following: 我得到以下内容:
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
The gem_make.out
file contains the following ridiculous information: 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.
Any ideas ? 有任何想法吗 ?
Installing DevKit solved the issue: 安装DevKit解决了这个问题:
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.