summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-04 12:31:31 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-04 12:31:31 +0000
commitc4ee0df8ba2cf7cc6aaa785c8df20a91b1719021 (patch)
tree06beca468cce4a75a3e9890d18aa001ef2c41e54 /tool
parent8c0b2a286080609613b6b007e030ff7c7adaa23c (diff)
* lib/rake/*: Gemify rake [fix GH-862][Feature #11025]
* test/rake/*: ditto. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rbinstall.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index d4c110e..b46f96a 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -739,6 +739,8 @@ install?(:ext, :comm, :gem) do
Gem::Specification.each_spec([srcdir+'/gems/*']) do |spec|
ins = RbInstall::UnpackedInstaller.new(spec,
:install_dir => install_dir,
+ :bin_dir => with_destdir(bindir),
+ :wrappers => true,
:ignore_dependencies => true)
puts "#{" "*30}#{spec.name} #{spec.version}"
ins.install
@@ -752,11 +754,13 @@ install?(:ext, :comm, :gem) do
if defined?(Zlib)
options = {
:install_dir => install_dir,
+ :bin_dir => with_destdir(bindir),
:domain => :local,
:ignore_dependencies => true,
:dir_mode => $dir_mode,
:data_mode => $data_mode,
:prog_mode => $prog_mode,
+ :wrappers => true,
}
gems.each do |gem|
Gem.install(gem, Gem::Requirement.default, options)