diff options
author | Stefan Lance <stefan@lances.net> | 2015-07-08 12:23:05 -0500 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-16 16:54:13 -0700 |
commit | 645cfa44ba694de610845ffeb5ab990af63d1eea (patch) | |
tree | 59c9344599082962bcdc72ae2837c3872de8cc0d | |
parent | de856e08050db9d0ba2de9b7cdf5e15a8b139bed (diff) | |
download | bundler-645cfa44ba694de610845ffeb5ab990af63d1eea.tar.gz |
Handle relative bundle paths by expanding `Bundler.settings.path`
-rw-r--r-- | lib/bundler/settings.rb | 1 |
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 |