Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Installation

Astha Patni edited this page Oct 2, 2017 · 1 revision

Install

Until we are able to secure hosting on https://rubygems.org, Ladon-Watir must be installed from source code.

  1. Install Ruby 2.1+; RVM is a good tool for the unfamiliar.
  • Windows Note: to install RVM, you have to do nonsense with Cygwin. Consider using RubyInstaller instead; make sure you install using a 2.1+ version!
  1. Clone the repository locally, cd ~/[cloned-repo] and build the gem: gem build ladon-watir.gemspec
  2. A ladon-watir-[version].gem file should be created. Run: gem install ladon-watir-[version].gem

Validating an Install

To confirm you've successfully installed Ladon:

  1. start a Ruby interpreter: irb
  2. In your irb session, run: require 'ladon/watir'
  3. You should see irb return true for that require commands, which means the require was successful
  4. Type Ladon::Watir and confirm that no error is printed to your terminal.

If step 4 works, you're ready to go!

Clone this wiki locally