Added by bo ye over 15 years ago
within post-commit.bat, you have
c:\windows\system32\cscript.exe "dir\to\run_ruby.vbs" "dir\to\redmine\script\runner" "Repository.fetch_changesets -e production"
within run_ruby.vbs, you have
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run( "c:\ruby\bin\ruby" & " " & WScript.Arguments(0) & " " & WScript.Arguments(1))
done!