Skip to content

Instantly share code, notes, and snippets.

@rohinomiya
Created September 1, 2011 22:34
Show Gist options
  • Save rohinomiya/1187486 to your computer and use it in GitHub Desktop.
Save rohinomiya/1187486 to your computer and use it in GitHub Desktop.
rspec.bat after edit
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"ruby.exe" "C:/ruby/bin/rspec" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
@"ruby.exe" "%~$PATH:0" %*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment