added functionality to permit get the latest version of a gem

I had an issue when using stickler with puppet trying to get puppet to install the latest version of a gem, with this feature i can get the latest version of a gem a get it to be installed by puppet.

I think is a useful functionality to use with puppet.