gem resources fail when the version is set to empty string

added a check for empty string as version.  This causes issues with rubygems.

When the version is an empty string, we should call gem install with no version flag and let it grab the latest.