vendor/bundler_gem/gems/bundler-1.1.0/lib/bundler/definition.rb
def rubygems_index
      @rubygems_index ||= Index.build do |idx|
        rubygems = @sources.find{|s| s.is_a?(Source::Rubygems) }
        idx.add_source rubygems.specs
      end
    end
# used when frozen is enabled so we can find the bundler
# spec, even if (say) a git gem is not checked out.
used when frozen is enabled so we can find the bundler
spec, even if (say) a git gem is not checked out.
used when frozen is enabled so we can find the bundler spec even if ( say ) a git gem is not checked out .
def rubygems_index
      @rubygems_index ||= Index.build do |idx|
        rubygems = @sources.find{|s| s.is_a?(Source::Rubygems) }
        idx.add_source rubygems.specs
      end
    end
def rubygems_index @rubygems_index ||= Index . build do | idx | rubygems = @sources . find { | s | s . is_a? ( Source :: Rubygems ) } idx . add_source rubygems . specs end end
used when frozen is enabled so we can find the bundler
spec, even if (say) a git gem is not checked out.
used when frozen is enabled so we can find the bundler spec even if ( say ) a git gem is not checked out .