Need to load the URL from excel and need to execute using Ruby script

I am very new to ruby, i wanted to learn the ruby code. I have basic
knowledge. I have list of pages(URL), I saved in an excel. I wanted to
get those pages and needs to load in browser. Please find below basic
script which I wrote for page loading.

require ‘rubygems’

require ‘watir’

ie = Watir::IE.new

ie.goto(“http://google.com”)

ie.goto(“http://www.softwaretestinghelp.com/”)

ie.goto(“Manual Testing”)

ie.goto(“https://facebook.com”)

Please help to get it done.

Thanks and Regards, Vinayaka M N

Save the excel sheet as a csv file, and then use ruby’s csv reader to
iterate over and extract the urls.

martin