class Puma::Launcher::BundlePruner

def require_rubygems_min_version!

def require_rubygems_min_version!
  min_version = Gem::Version.new('2.2')
  return if min_version <= Gem::Version.new(Gem::VERSION)
  raise "prune_bundler is not supported on your version of RubyGems. " \
        "You must have RubyGems #{min_version}+ to use this feature."
end