Module: LocalSources
- Defined in:
- lib/local_sources.rb,
lib/local_sources/version.rb
Constant Summary collapse
- VERSION =
'0.0.1'
Class Method Summary collapse
Class Method Details
.source(bundler) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/local_sources.rb', line 2 def self.source(bundler) begin sources = `gem sources`.split("\n\n")[1].split("\n") sources.each {|s| bundler.source(s) } rescue bundler.source 'https://rubygems.org' end end |