Updates examples to require rubygems

The examples didn't seem to work as they required 'rubygem' instead of 'rubygems'. I've updated.