Method: Bundler::SourceList#add_path_source
- Defined in:
- lib/bundler/source_list.rb
#add_path_source(options = {}) ⇒ Object
35 36 37 38 39 40 41 42 43 |
# File 'lib/bundler/source_list.rb', line 35 def add_path_source( = {}) if ["gemspec"] add_source_to_list Source::Gemspec.new(), path_sources else path_source = add_source_to_list Source::Path.new(), path_sources @global_path_source ||= path_source if ["global"] path_source end end |