Method: Bundler::StubSpecification#source=
- Defined in:
- lib/bundler/stub_specification.rb
#source=(source) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/bundler/stub_specification.rb', line 14 def source=(source) super # Stub has no concept of source, which means that extension_dir may be wrong # This is the case for git-based gems. So, instead manually assign the extension dir return unless source.respond_to?(:extension_dir_name) path = File.join(stub.extensions_dir, source.extension_dir_name) stub.extension_dir = File.(path) end |