Require rubygems

Turns out my problem with getting ruby to recognize the xml-simple rubygem was solved by a simple require statement:

require 'rubygems'

Configuration issues are so often the bane of programming. Anyway the necessity for this is explained here as in RTFM.