summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-04-13 14:44:25 -0700
committerAndre Arko <andre@arko.net>2014-04-13 14:44:35 -0700
commite8549ed65d060e8c5512ce40ce9571d508fb5b0a (patch)
tree45e57ded251fd392183e8c34195ad2d5b6c744a7
parent1ed2c909489927cc1e80e68196709d9e86a5a3eb (diff)
downloadbundler-e8549ed65d060e8c5512ce40ce9571d508fb5b0a.tar.gz
allow standalone to handle builtin gems
they're built-in, so there's no require path to write out... just require them
-rw-r--r--lib/bundler/installer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index e220aed2c6..7b317a0aad 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -235,6 +235,7 @@ module Bundler
specs.each do |spec|
next if spec.name == "bundler"
+ next if spec.require_paths.nil? # builtin gems
spec.require_paths.each do |path|
full_path = File.join(spec.full_gem_path, path)