diff options
author | Andre Arko <andre@arko.net> | 2012-05-27 14:22:33 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2012-05-27 14:43:51 -0700 |
commit | a65c7a7117b4de6ed4133f2bfaa669162d9df0ac (patch) | |
tree | b2f4c29c17530818145dd033c2d50592752bfe62 /lib/bundler/vendored_persistent.rb | |
parent | 040430d2fb5f41baf7de3295909e5fd38c194090 (diff) | |
download | bundler-a65c7a7117b4de6ed4133f2bfaa669162d9df0ac.tar.gz |
add vendored_persistent
This clears up fetcher.rb's implicit dependency on being loaded after vendored_thor (which added lib/vendor/ to the load path).
Diffstat (limited to 'lib/bundler/vendored_persistent.rb')
-rw-r--r-- | lib/bundler/vendored_persistent.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bundler/vendored_persistent.rb b/lib/bundler/vendored_persistent.rb new file mode 100644 index 0000000000..bfc69de70e --- /dev/null +++ b/lib/bundler/vendored_persistent.rb @@ -0,0 +1,3 @@ +vendor = File.expand_path('../vendor', __FILE__) +$:.unshift(vendor) unless $:.include?(vendor) +require 'net/http/persistent' |