Setup Cucumber and Helpers

PreRequisites

Complete the steps outlined in Set up Ruby and Components

1) Open a command prompt on your machine and type the following command

“gem install cucumber”    (The version may vary depending on the latest). This might take a while, so please be patient

geminstallcucumber

2) Install bundler (bundler is used to install gems in bundles)

“gem install bundler”

geminstallbundler

3) Install Selenium webdriver

“gem install selenium-webdriver”

geminstallselenium

4) Install watir-webdriver

“gem install watir-webdriver”

geminstallwatir

FAQ

1) I am behind a corporate network/firewall

Generally the corporate network should whitelist the http://rubygems.org website in their proxy. So if you get any errors while accessing rubygems.org, you can set HTTP_PROXY variable to get access to that website. 

Note: First try without HTTP_PROXY variable and if all goes well, there is nothing to do. If you get issues while installing gems then set the HTTP_PROXY environment variable and point it to the proxy server that your corporate environment designated. You might have to ask network administrator the exact details.