running ruby script as batch file in windows
a little snippet to be put on top of your ruby file so it can run as batch file.
@rem => batch @ruby %~f0 %* @goto :eof batch # your ruby script here
Blogged with Flock
Tags: ruby
a little snippet to be put on top of your ruby file so it can run as batch file.
@rem => batch @ruby %~f0 %* @goto :eof batch # your ruby script here
Blogged with Flock
Tags: ruby