You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when trying to execute gem install watir:
C:/Ruby192/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_thread_has_gvl_p()... yes
checking for ruby_native_thread_p()... yes
checking for rb_thread_call_with_gvl()... yes
creating extconf.h
creating Makefile
make
C:/Ruby192/bin/ruby -e "puts 'EXPORTS', 'Init_ffi_c'" > ffi_c-i386-mingw32.def
gcc -I. -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby192/include/ruby-1.9.1/ruby/backward -I/C/Ruby192/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H="extconf.h" -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -Wno-declaration-after-statement -o AbstractMemory.o -c AbstractMemory.c
In file included from AbstractMemory.c:28:0:
compat.h:65:20: warning: extra tokens at end of #ifndef directive
compat.h:69:24: warning: extra tokens at end of #ifndef directive
In file included from AbstractMemory.h:29:0,
from AbstractMemory.c:29:
Types.h:68:17: fatal error: ffi.h: No such file or directory
compilation terminated.
make: *** [AbstractMemory.o] Error 1
The issue tracker of RubyInstaller is to deal with issues related to the installer or the packages itself, neither is Ruby or a 3rd party library installation. This is mentioned on Issue #39
I recommend you check RubyInstaller group, there has been threads about FFI and Windows.
I get the following error when trying to execute
gem install watir
:I have installed the dev kit from these instructions (https://github.com/oneclick/rubyinstaller/wiki/Development-Kit), and the "Hello RubyInstaller" test seems to be working. I'm running Windows 7 x64 Ultimate, ruby 1.9.2p290 (2011-07-09) [i386-mingw32], and gem 1.8.11. I've also looked at these two troubleshooting steps (https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#wiki-gems_fails_comspec_autorun) and they don't seem to be my problem. Here is my output from
gem env
:Any help would be appreciated!
The text was updated successfully, but these errors were encountered: