fix rubygems dependency versioning deprecation