class Bundler::CLI::Add
def inject_dependencies
def inject_dependencies dependencies = gems.map {|g| Bundler::Dependency.new(g, version, options) } Injector.inject(dependencies, conservative_versioning: options[:version].nil?, # Perform conservative versioning only when version is not specified optimistic: options[:optimistic], strict: options[:strict]) end