ruby-win32/lib/ruby/site_ruby/1.8/rubygems/installer.rb
def windows_stub_script(bindir, bin_file_name)
    <<-TEXT
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"#{Gem.ruby}" "#{File.join(bindir, bin_file_name)}" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
"%~dp0ruby.exe" "%~dpn0" %*
TEXT
  end
# return the stub script text used to launch the true ruby script
return the stub script text used to launch the true ruby script
return the stub script text used to launch the true ruby script
def windows_stub_script(bindir, bin_file_name)
    <<-TEXT
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"#{Gem.ruby}" "#{File.join(bindir, bin_file_name)}" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
"%~dp0ruby.exe" "%~dpn0" %*
TEXT
  end
def windows_stub_script ( bindir , bin_file_name ) <<-TEXT 
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@" #{ Gem . ruby } " " #{ File . join ( bindir , bin_file_name ) } " %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
"%~dp0ruby.exe" "%~dpn0" %*
 TEXT end
return the stub script text used to launch the true ruby script
return the stub script text used to launch the true ruby script
bindir
bin_file_name