diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-09-13 16:54:24 +0200 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-09-13 16:54:24 +0200 |
commit | 6e5ebb6bc1715c23afa9351fdf72d8e4c1aeb0c4 (patch) | |
tree | 7db4e1e14979c1e9449bb17789a848ac27354219 /lib | |
parent | d453033b19c27640f95cc085d52398342e15472b (diff) | |
download | bundler-6e5ebb6bc1715c23afa9351fdf72d8e4c1aeb0c4.tar.gz |
[Path] Fix serializing absolute paths that are inside the rootseg-fix-eval-gemfile-path-sources
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/source/path.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/path.rb b/lib/bundler/source/path.rb index 4250e55905..87a490446c 100644 --- a/lib/bundler/source/path.rb +++ b/lib/bundler/source/path.rb @@ -130,7 +130,7 @@ module Bundler end def lockfile_path - return path if path.absolute? + return relative_path if path.absolute? expand(path).relative_path_from(Bundler.root) end |