class Bundler::CLI::Gem
def initialize(options, gem_name, thor)
def initialize(options, gem_name, thor) @options = options @gem_name = resolve_name(gem_name) @thor = thor thor.behavior = :invoke thor.destination_root = nil @name = @gem_name @target = SharedHelpers.pwd.join(gem_name) @extension = options[:ext] validate_ext_name if @extension validate_rust_builder_rubygems_version if @extension == "rust" end