Updates examples to require rubygems

Examples didn't work as required 'rubygem' instead of 'rubygems'