Created
March 5, 2011 23:53
-
-
Save FabricioFFC/856842 to your computer and use it in GitHub Desktop.
gem.bat - Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SET _HOMEDRIVE=%HOMEDRIVE% | |
SET _HOMEPATH=%HOMEPATH% | |
SET HOMEDRIVE=C: | |
SET HOMEPATH=\Ruby187 | |
IF NOT "%~f0" == "~f0" GOTO :WinNT | |
@"ruby.exe" "C:\Ruby187\bin\gem" %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
GOTO :EOF | |
:WinNT | |
@"ruby.exe" "%~dpn0" %* | |
SET HOMEDRIVE=%_HOMEDRIVE% | |
SET HOMEPATH=%_HOMEPATH% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment