aboutsummaryrefslogtreecommitdiffstats
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-04 23:46:45 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-04 23:46:45 +0000
commit75f9f244d6ac9622e2e775d28b3511e5af438b54 (patch)
tree1764ade405e554247d38d0fb70ca88c09dd114c7 /tool/rbinstall.rb
parent0dd9774009709ba6a4fd8d2f44800fd95f270218 (diff)
downloadruby-75f9f244d6ac9622e2e775d28b3511e5af438b54.tar.gz
* tool/rbinstall.rb: support --program-suffix option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index b46f96ae94..df4688ead7 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -741,7 +741,8 @@ install?(:ext, :comm, :gem) do
:install_dir => install_dir,
:bin_dir => with_destdir(bindir),
:wrappers => true,
- :ignore_dependencies => true)
+ :ignore_dependencies => true,
+ :format_executable => true)
puts "#{" "*30}#{spec.name} #{spec.version}"
ins.install
installed_gems[spec.full_name] = true
@@ -761,6 +762,7 @@ install?(:ext, :comm, :gem) do
:data_mode => $data_mode,
:prog_mode => $prog_mode,
:wrappers => true,
+ :format_executable => true,
}
gems.each do |gem|
Gem.install(gem, Gem::Requirement.default, options)