Skip to content

Instantly share code, notes, and snippets.

@ayr-ton
Forked from diogolundberg/rails.bat
Created October 8, 2016 00:06
Show Gist options
  • Save ayr-ton/0cf030298ebcdc9b51bf4c46b6293e90 to your computer and use it in GitHub Desktop.
Save ayr-ton/0cf030298ebcdc9b51bf4c46b6293e90 to your computer and use it in GitHub Desktop.
Workaround to Rails installer 3.2.0
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"%~dp0ruby.exe" "%~dp0rails" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
@"%~dp0ruby.exe" "%~dpn0" %*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment