mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[rubygems/rubygems] Fix ruby setup.rb
leaving traces in source folder
It's the `Gem::Installer` below what installs executables, and the code
being deleted here is now actually creating a `gems/` folder in the root
of the source repo when running `ruby setup.rb`.
0e69a8b0d6
This commit is contained in:
parent
4d5bfa7c3b
commit
7c72755da8
1 changed files with 0 additions and 6 deletions
|
@ -395,12 +395,6 @@ By default, this RubyGems will install gem as:
|
|||
each {|default_gem| rm_r File.join(bundler_spec.gems_dir, default_gem) }
|
||||
end
|
||||
|
||||
bundler_bin_dir = new_bundler_spec.bin_dir
|
||||
mkdir_p bundler_bin_dir, mode: 0o755
|
||||
bundler_spec.executables.each do |e|
|
||||
cp File.join("bundler", new_bundler_spec.bindir, e), File.join(bundler_bin_dir, e)
|
||||
end
|
||||
|
||||
require_relative "../installer"
|
||||
|
||||
Dir.chdir("bundler") do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue