User Tools

Site Tools


win:ruby

Ruby

Error executing gems?

> rake
The filename, directory name, or volume label syntax is incorrect.

Fix the corresponding .bat files:

@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"ruby.exe"" "C:/Program Files/ruby/bin/rake" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
@"ruby.exe"" "%~dpn0" %* 

remove the double double quotes after ruby.exe ⇒ must read @“ruby.exe”

/srv/wiki.niwos.com/data/pages/win/ruby.txt · Last modified: 2009/08/15 12:14 (external edit)