method

installed_by_version

ruby latest stable - Class: Gem::Specification
installed_by_version()
public

The version of RubyGems that installed this gem. Returns Gem::Version.new(0) for gems installed by versions earlier than RubyGems 2.2.0.