Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Bundler needs to work with ruby 1.8 too
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Apr 8, 2011
1 parent 0ea5d76 commit 4ee73a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/source.rb
Expand Up @@ -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
Expand Down

0 comments on commit 4ee73a7

Please sign in to comment.