summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorLuis Lavena <luislavena@gmail.com>2010-08-20 22:34:26 -0300
committerLuis Lavena <luislavena@gmail.com>2010-08-20 22:34:26 -0300
commite6483c692a505ab563471fdba46380f68d03d5a5 (patch)
tree49b0ec52fe28ee95fefdd50261e6c3b7563c7028 /spec/support
parent65ab01a6b7a5eae2586c914ef977ec0589f45355 (diff)
downloadbundler-e6483c692a505ab563471fdba46380f68d03d5a5.tar.gz
Remove quote of pathname
Pathname.join do not properly respect quoted paths. Path with spaces still fails since quotes around every -I and path expressed is required. Removing this since a long term solution must achieved instead of this short-term and failed scenario.
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb
index 1b91a11efc..2506de08c7 100644
--- a/spec/support/path.rb
+++ b/spec/support/path.rb
@@ -1,7 +1,7 @@
module Spec
module Path
def root
- @root ||= Pathname.new(File.expand_path("../../..", __FILE__).sub(/.*\s.*/m, '"\&"'))
+ @root ||= Pathname.new(File.expand_path("../../..", __FILE__))
end
def tmp(*path)