diff options
author | wycats <wycats@gmail.com> | 2010-07-09 23:31:40 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-07-09 23:31:40 -0700 |
commit | 0e94235c072a21874990885be3a070dc83b779d7 (patch) | |
tree | 52e4f7f38d36c93e2bf8776219df10a8d67ec97e | |
parent | c964feebf7068666ef754f3e78067b25eb271a72 (diff) | |
download | bundler-0e94235c072a21874990885be3a070dc83b779d7.tar.gz |
Don't use sudo to create ~/.bundler
-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 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 |