summaryrefslogtreecommitdiff
path: root/lib/bundler/environment.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-04-23 14:39:43 -0700
committerCarl Lerche <carllerche@mac.com>2010-04-23 14:39:43 -0700
commitd7e1835b02898cc9ed1e925fe39f47b8fcbc08f9 (patch)
tree5bcfb99d040fe6cff859aa98f187212adcd88aba /lib/bundler/environment.rb
parentb533b44075073ac0c49cd7e01a6c1dc88c2bdcd4 (diff)
downloadbundler-d7e1835b02898cc9ed1e925fe39f47b8fcbc08f9.tar.gz
Push all of the rubygems related stuff into the Rubygems source class
Diffstat (limited to 'lib/bundler/environment.rb')
-rw-r--r--lib/bundler/environment.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/bundler/environment.rb b/lib/bundler/environment.rb
index 5d6f8c571e..77ce480631 100644
--- a/lib/bundler/environment.rb
+++ b/lib/bundler/environment.rb
@@ -12,11 +12,8 @@ module Bundler
def index
@index ||= Index.build do |idx|
sources.each do |s|
- idx.use s.local_specs if s.respond_to?(:local_specs)
+ idx.use s.local_specs
end
-
- idx.use Index.system_gems
- idx.use Index.cached_gems
end
end