This repository has been archived by the owner on May 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
Astha Patni edited this page Oct 2, 2017
·
1 revision
Until we are able to secure hosting on https://rubygems.org, Ladon-Watir must be installed from source code.
- 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!
- Clone the repository locally,
cd ~/[cloned-repo]
and build the gem:gem build ladon-watir.gemspec
- A
ladon-watir-[version].gem
file should be created. Run:gem install ladon-watir-[version].gem
To confirm you've successfully installed Ladon:
- start a Ruby interpreter:
irb
- In your
irb
session, run:require 'ladon/watir'
- You should see
irb
returntrue
for that require commands, which means the require was successful - Type
Ladon::Watir
and confirm that no error is printed to your terminal.
If step 4 works, you're ready to go!