diff options
author | Andre Arko <andre@arko.net> | 2010-04-11 20:58:25 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-04-12 11:59:32 -0700 |
commit | a88f883f10342a1daccadc35e708f414c552518a (patch) | |
tree | a977f1bcebf8fab28c8fa75ebd6d254229be142a | |
parent | c25f61e251e400e4626ebf620c40062b2bda4e6b (diff) | |
download | bundler-a88f883f10342a1daccadc35e708f414c552518a.tar.gz |
Ensure Ruby 1.9 Rubygems is fully loaded in locked environments
-rw-r--r-- | lib/bundler/shared_helpers.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index ca5905963a..c18fd62b29 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -1,5 +1,6 @@ -require 'rubygems' require 'pathname' +require 'rubygems' +Gem.source_index # ensure Rubygems is fully loaded in Ruby 1.9 module Gem class Dependency |