summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Phoenix <ephoenix@engineyard.com>2011-05-02 10:42:25 -0700
committerEvan Phoenix <ephoenix@engineyard.com>2011-05-02 10:42:25 -0700
commit9af358456b8013131105b9d3b9d22f9ba52f1bc3 (patch)
tree0012e8b78f851340dd0cdcde9baf4d583b86af48
parentbe66a4149be4f27e7e9808f9cd17729b17febebb (diff)
downloadbundler-9af358456b8013131105b9d3b9d22f9ba52f1bc3.tar.gz
Fix Rubygems.gem_path again
-rw-r--r--lib/bundler/rubygems_integration.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb
index 507cf3bbe3..01669baa77 100644
--- a/lib/bundler/rubygems_integration.rb
+++ b/lib/bundler/rubygems_integration.rb
@@ -58,7 +58,9 @@ module Bundler
end
def gem_path
- Gem.path
+ # Make sure that Gem.path is an array of Strings, not some
+ # internal Rubygems object
+ Gem.path.map { |x| x.to_s }
end
def marshal_spec_dir