Method: Bundler::Source::Path#install

Defined in:
lib/bundler/source/path.rb

#install(spec, options = {}) ⇒ Object



76
77
78
79
80
81
82
# File 'lib/bundler/source/path.rb', line 76

def install(spec, options = {})
  using_message = "Using #{version_message(spec, options[:previous_spec])} from #{self}"
  using_message += " and installing its executables" unless spec.executables.empty?
  print_using_message using_message
  generate_bin(spec, disable_extensions: true)
  nil # no post-install message
end