Trying to figure out how to initialize gems and set the default encoding in our embedded ruby interpreter, I am totally lost and there is no documentation

Could use help from @lefticus on this when he is back, the goal is to be able to call "require 'rubygems'" from within a measure