I'm trying to get started with ruby and Watir-webdriver for some test automation.
sudo apt-get install ruby rubygems
sudo gem install watir-webdriver
Whenever I gem install I'm getting these errors like :
[/usr/lib/ruby/gems/1.8/specifications/selenium-webdriver-2.13.0.gemspec] isn't a Gem::Specification (NilClass instead).
ERROR: While executing gem ... (NoMethodError)
undefined method `spec' for nil:NilClass