On 10/14/07, Daniel Berger <[EMAIL PROTECTED]> wrote:
> Actually, I fixed it by simply sticking "require 'rubygems/gem_runner'"
> at the top of rubygems.rb. But yeah, the drive letter issue should be
> handled as well.
>

Question: we should care about Win9x users? I don't want, since I
could use extensions only available in CMD.exe:

@ECHO OFF
IF NOT "%~f0" == "~f0" ECHO WinNT
:WinNT
ECHO.d0: %~d0
ECHO.p0: %~p0
ECHO.f0: %~f0
SET RUBYSCRIPT=%~f0
SET RUBYSCRIPT=%RUBYSCRIPT:.cmd=%
ECHO.Command generated:
ECHO."%~d0%~p0ruby.exe" "%RUBYSCRIPT%" %*
SET RUBYSCRIPT=

Just as example, Since I don't have an old command.com to test, this
will work as stub for rubygems scripts.

What do you think?

Regards,

-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to