summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-07-08 12:23:05 -0500
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-16 16:54:13 -0700
commit645cfa44ba694de610845ffeb5ab990af63d1eea (patch)
tree59c9344599082962bcdc72ae2837c3872de8cc0d
parentde856e08050db9d0ba2de9b7cdf5e15a8b139bed (diff)
downloadbundler-645cfa44ba694de610845ffeb5ab990af63d1eea.tar.gz
Handle relative bundle paths by expanding `Bundler.settings.path`
-rw-r--r--lib/bundler/settings.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb
index 873cad17cc..c7b0259a87 100644
--- a/lib/bundler/settings.rb
+++ b/lib/bundler/settings.rb
@@ -164,6 +164,7 @@ module Bundler
if path = self[:path]
path == Bundler.rubygems.gem_dir ? path : "#{path}/#{Bundler.ruby_scope}"
+ path = File.expand_path(path)
else
File.join(@root, Bundler.ruby_scope)
end