diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-07-24 03:07:42 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-07-24 16:26:40 -0300 |
commit | fc73646d30e4a46d415f9fd1e31c6cb956db8151 (patch) | |
tree | 8653b92ad1a26d8f9272664228966dbbe5578599 | |
parent | f64c6dac2503db5a0acb4e4a532c9c32b224eb67 (diff) | |
download | bundler-fc73646d30e4a46d415f9fd1e31c6cb956db8151.tar.gz |
Don't ask for root password when running bundler install if not needed. Closes #484
-rw-r--r-- | lib/bundler/installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index 3c2c901658..cb28ddea0d 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -32,7 +32,7 @@ module Bundler end # Ensure that BUNDLE_PATH exists - Bundler.mkdir_p(Bundler.bundle_path) + Bundler.mkdir_p(Bundler.bundle_path) unless File.exist?(Bundler.bundle_path) # Must install gems in the order that the resolver provides # as dependencies might actually affect the installation of |