added rubygems to main.rb