diff options
author | Kamil K. LemaĆski <kamil.lemanski@gmail.com> | 2013-06-13 10:30:47 +0300 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-07-03 12:07:37 -0700 |
commit | 3b5d3acb7db535e75920ae0f639d2661e9ead4af (patch) | |
tree | ebad27a95ef228bcceb35ab3d2353ad00af7ceb5 /lib/bundler.rb | |
parent | 30604c78717b651147c6aa822c88f8f15f66444e (diff) | |
download | bundler-3b5d3acb7db535e75920ae0f639d2661e9ead4af.tar.gz |
Coerce Pathname into String for MacRuby
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 f712edeb..ccb447de 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -261,7 +261,7 @@ module Bundler bin_dir = bin_dir.parent until bin_dir.exist? # if any directory is not writable, we need sudo - dirs = [path, bin_dir] | Dir[path.join('*')] + dirs = [path, bin_dir] | Dir[path.join('*').to_s] sudo_needed = dirs.find{|d| !File.writable?(d) } end |