module LocalSources

Constants

VERSION

Public Class Methods

source(bundler) click to toggle source
# 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