Skip to content

Instantly share code, notes, and snippets.

@daicham daicham/gist:1593777
Created Jan 11, 2012

Embed
What would you like to do?
ruby code on windows bat file
@echo off
ruby -S -x %0 %*
goto end
#! ruby
# some ruby code
__END__
:end
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.