aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-06-17 00:06:53 +0200
committerXavier Noria <fxn@hashref.com>2011-06-17 00:06:53 +0200
commit8d0b0e1d37ceb5c65d52d6cf6d795edb3693e9a7 (patch)
tree79083d78f1c40ec8c49f954bc791b4f478c5f659 /lib
parent073094d6e68271907205721f2a2f0e1844abc667 (diff)
downloadbundler-8d0b0e1d37ceb5c65d52d6cf6d795edb3693e9a7.tar.gz
gems provide "executables", they are rarely also "binaries"
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/cli.rb2
-rw-r--r--lib/bundler/source.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 9d53384a..87131931 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -347,7 +347,7 @@ module Bundler
exit 126
rescue Errno::ENOENT
Bundler.ui.error "bundler: command not found: #{ARGV.first}"
- Bundler.ui.warn "Install missing gem binaries with `bundle install`"
+ Bundler.ui.warn "Install missing gem executables with `bundle install`"
exit 127
end
end
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index f18ace20..579e08f4 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -362,9 +362,9 @@ module Bundler
s.relative_loaded_from = "#{@name}.gemspec"
s.authors = ["no one"]
if expanded_path.join("bin").exist?
- binaries = expanded_path.join("bin").children
- binaries.reject!{|p| File.directory?(p) }
- s.executables = binaries.map{|c| c.basename.to_s }
+ executables = expanded_path.join("bin").children
+ executables.reject!{|p| File.directory?(p) }
+ s.executables = executables.map{|c| c.basename.to_s }
end
end
end