summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-07-09 23:31:40 -0700
committerwycats <wycats@gmail.com>2010-07-09 23:31:40 -0700
commit0e94235c072a21874990885be3a070dc83b779d7 (patch)
tree52e4f7f38d36c93e2bf8776219df10a8d67ec97e
parentc964feebf7068666ef754f3e78067b25eb271a72 (diff)
downloadbundler-0e94235c072a21874990885be3a070dc83b779d7.tar.gz
Don't use sudo to create ~/.bundler
-rw-r--r--lib/bundler/source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index 19d8bfc98a..6b1aef510e 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -588,7 +588,7 @@ module Bundler
in_cache { git %|fetch --force --quiet "#{uri}" refs/heads/*:refs/heads/*| }
else
Bundler.ui.info "Fetching #{uri}"
- Bundler.mkdir_p(cache_path.dirname)
+ FileUtils.mkdir_p(cache_path.dirname)
git %|clone "#{uri}" "#{cache_path}" --bare --no-hardlinks|
end
end