class Bundler::RubygemsIntegration

def set_installed_by_version(spec, installed_by_version = Gem::VERSION)

def set_installed_by_version(spec, installed_by_version = Gem::VERSION)
  return unless spec.respond_to?(:installed_by_version=)
  spec.installed_by_version = Gem::Version.create(installed_by_version)
end