This is a very simple program that searches for a given string in Google and clicks on the first link
$ bundle install
$ ruby simple_google_crawler.rb
You can test crawler class using Minitest.
$ ruby test/google_crawler_test.rb
Copyright © 2015 Piotr Brudny.