Permalink
Browse files

Bundler needs to work with ruby 1.8 too

  • Loading branch information...
1 parent 0ea5d76 commit 4ee73a75c146198562ad38276d357ba81b4463f4 @indirect indirect committed Apr 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/source.rb
View
@@ -351,7 +351,7 @@ def load_spec_files
s.relative_loaded_from = "#{@name}.gemspec"
if expanded_path.join("bin").exist?
binaries = expanded_path.join("bin").children
- binaries.reject! &:directory?
+ binaries.reject!{|p| p.directory? }
s.executables = binaries.map{|c| c.basename.to_s }
end
end

0 comments on commit 4ee73a7

Please sign in to comment.