Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bundler root path should be escaped

  • Loading branch information...
commit 2237ffc24a82ae0352123aac93e64c6a3d37c15f 1 parent d25ba1c
@tenderlove tenderlove authored hone committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bundler/source.rb
View
2  lib/bundler/source.rb
@@ -419,7 +419,7 @@ def cache(spec)
private
def relative_path
- if path.to_s.match(%r{^#{Bundler.root.to_s}})
+ if path.to_s.match(%r{^#{Regexp.escape Bundler.root.to_s}})
return path.relative_path_from(Bundler.root)
end
Please sign in to comment.
Something went wrong with that request. Please try again.