diff options
Diffstat (limited to 'lib/bundler/source/path.rb')
-rw-r--r-- | lib/bundler/source/path.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/path.rb b/lib/bundler/source/path.rb index 9ec140f39c..57f8bc0190 100644 --- a/lib/bundler/source/path.rb +++ b/lib/bundler/source/path.rb @@ -150,8 +150,8 @@ module Bundler s.authors = ["no one"] if expanded_path.join("bin").exist? executables = expanded_path.join("bin").children - executables.reject!{|p| File.directory?(p) } - s.executables = executables.map{|c| c.basename.to_s } + executables.reject! {|p| File.directory?(p) } + s.executables = executables.map {|c| c.basename.to_s } end end end |