diff options
author | Andre Arko <andre@arko.net> | 2012-03-23 17:00:05 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2012-03-23 17:00:05 -0700 |
commit | 55ecac90f748391ef722a3d2a920910f36e9617d (patch) | |
tree | c1bf667e5df04b7e7e8b22be6b7f727d5785ce8f /lib/bundler/source.rb | |
parent | d6f93f82bff9ca09c5b7b46d15c1c07154c9233e (diff) | |
download | bundler-55ecac90f748391ef722a3d2a920910f36e9617d.tar.gz |
Revert "Merge pull request #1789 from tenderlove/pathescape"
This reverts commit d6f93f82bff9ca09c5b7b46d15c1c07154c9233e, reversing
changes made to f65ba393f43bb697e655645e61e2ca52fc05e28e.
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r-- | lib/bundler/source.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb index a1da86a581..895e8290c7 100644 --- a/lib/bundler/source.rb +++ b/lib/bundler/source.rb @@ -435,7 +435,7 @@ module Bundler end def relative_path - if path.to_s.match(%r{^#{Regexp.escape Bundler.root.to_s}}) + if path.to_s.match(%r{^#{Bundler.root.to_s}}) return path.relative_path_from(Bundler.root) end path |