summaryrefslogtreecommitdiff
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-17 13:17:54 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-17 13:46:55 +0200
commit0646f9e286ff330a227cea01812b1ead4fa601cd (patch)
treee33d50bbbad79e8ba78757189d0b5be1fbfb71f1 /lib/bundler/definition.rb
parent4dc6d1d115802640e4a8c20769c428932f641340 (diff)
downloadbundler-0646f9e286ff330a227cea01812b1ead4fa601cd.tar.gz
Use real paths for `bundle clean`use_real_git_paths
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 76950ff96a..4664eec24d 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -317,7 +317,7 @@ module Bundler
end
def spec_git_paths
- sources.git_sources.map {|s| s.path.to_s }
+ sources.git_sources.map {|s| File.realpath(s.path) }
end
def groups