mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[rubygems/rubygems] Update contents of gem.bat on Windows
(https://github.com/rubygems/rubygems/pull/6483)
41d8cffd2e
Co-Authored-By: MSP-Greg <Greg.mpls@gmail.com>
This commit is contained in:
parent
249a1fb0eb
commit
185a6c991e
1 changed files with 1 additions and 5 deletions
|
@ -279,11 +279,7 @@ By default, this RubyGems will install gem as:
|
|||
File.open bin_cmd_file, "w" do |file|
|
||||
file.puts <<-TEXT
|
||||
@ECHO OFF
|
||||
IF NOT "%~f0" == "~f0" GOTO :WinNT
|
||||
@"#{File.basename(Gem.ruby).chomp('"')}" "#{dest_file}" %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
GOTO :EOF
|
||||
:WinNT
|
||||
@"#{File.basename(Gem.ruby).chomp('"')}" "%~dpn0" %*
|
||||
@"%~dp0#{File.basename(Gem.ruby).chomp('"')}" "%~dpn0" %*
|
||||
TEXT
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue