> Hello
>
> I am using Ruby version - ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-
> mingw32]
>
> Initially while trying to install Watir, I got the following error
>
> ***************************************************************************************
> ERROR: Error installing watir:
> The 'ffi' native gem requires installed build tools.
The 'ffi' gem dropped support for 1.8.x about 8 months ago when the 1.0 version was released. The author makes no effort to make sure subsequent releases are compatible with 1.8 or its tools.
You might try asking on the ffi mailing list. It's possible there is someone maintaining a fork that provides 1.8 support.
cr
Here is the thread on the ruby-ffi mailing list from November 2010 announcing the 1.0 release and the lack of 1.8.7 support.
http://groups.google.com/group/ruby-ffi/browse_thread/thread/c40766b574a15962#
cr
I believe I've mentioned that the ffi gem itself should be doing
require_ruby_version >= 1.9.2 from now on.
All these gem installation problems could have been avoided if
Gem::Specification was really understood :-(
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
Hello John,
>
> I am using Ruby version - ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-
> mingw32]
>
> Initially while trying to install Watir, I got the following error
>
> ***************************************************************************************
> ERROR: Error installing watir:
> The 'ffi' native gem requires installed build tools.
>
> Please update your PATH to include build tools or download the DevKit
> from 'http://rubyinstaller.org/downloads' and follow the instructions
> at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
> ***************************************************************************************
>
> I followed the intructions and installed the devkit
> 3.4.5-20100819-1535-sfx and followed th steps as listed at
> https://github.com/oneclick/rubyinstaller/wiki/Development-Kit and the
> installation went on fine. I even could install rdiscount succesfully
> and could see the devkit.rb and operating_system.rb files in my Ruby
> installation.
>
You need DevKit 4.5.2 for Ruby 1.8.7-p352 and newer versions of Ruby, not 3.4.5
The errors you're getting is because Ruby was build against GCC 4.5.2
and you're using GCC 3.4.5, expect more issues like that.