class Gem::Commands::ExecCommand

def initialize

def initialize
  super "exec", "Run a command from a gem", {
    version: Gem::Requirement.default,
  }
  add_version_option
  add_prerelease_option "to be installed"
  add_option "-g", "--gem GEM", "run the executable from the given gem" do |value, options|
    options[:gem_name] = value
  end
  add_option(:"Install/Update", "--conservative",
    "Prefer the most recent installed version, ",
    "rather than the latest version overall") do |_value, options|
    options[:conservative] = true
  end
end