Watir-webdriver installtion issue with ffi in Windows

watir-webdriver Installtion issue with ffi in Windows:

1. Install ruby

2. Install the gem watir-webdriver from command prompt

a. CMD>gem install watir-webdriver

C:\Users\admin>gem install watir-webdriver
Fetching: watir-webdriver-0.6.1.gem (100%)
Fetching: ffi-1.0.11.gem (100%)
ERROR: Error installing watir-webdriver:
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’


3. To Reolsve the issue, we need to install the ffi previous version gem.

4. CMD>gem install ffi -v1.0.9

5. Once ffi installed successfully, then install watir-webdriver again

a.CMD>gem install watir-webdriver


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s