diff options
author | Carl Lerche <carllerche@mac.com> | 2010-08-05 22:27:50 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-08-05 22:27:50 -0700 |
commit | 96265c4caabef2ceb1fcee3b879b1a1b375c34a4 (patch) | |
tree | d3718a5c2747f557955de270fefe6b76c834c8a7 /lib/bundler.rb | |
parent | ee10cd90a533c4d6e13ed020e05f45b69f746886 (diff) | |
download | bundler-96265c4caabef2ceb1fcee3b879b1a1b375c34a4.tar.gz |
The filesystem might not be writable during runtime when deployed.
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r-- | lib/bundler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 396c3cdb..da9b2361 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -189,7 +189,7 @@ module Bundler path = path.parent until path.exist? sudo_present = !`which sudo 2>#{NULL}`.empty? - !File.writable?(path) && sudo_present + !settings.path && !File.writable?(path) && sudo_present end def mkdir_p(path) |