Tutorial #1 : Setup Ruby environment

I. Windows OS

  1. Install RubyInstaller 2.3.3 (64-bit, 32-bit)

Screen Shot 2017-03-09 at 11.05.15

  1. During installation, check box for Add Ruby executable to PATH
  2. Download and extract the RubyInstaller DevKit to a known location (e.g., C:\DevKit) (32-bit, 64-bit)

Screen Shot 2017-03-09 at 11.05.32

  1. Open a command prompt (Start, Run, cmd, Enter)
  2. Change directories to the extracted DevKit directory (cd C:\DevKit)
  3. Run the DevKit init script with ruby dk.rb init
  4. Run the DevKit install script with ruby dk.rb install

Ruby-04

  1. Install Bundler with gem install bundler
  2. Install RSpec version 3.4.0 with gem install rspec -v 3.4.0
  3. Install the Selenium WebDriver Ruby bindings with gem install selenium-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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.