Skip to content

Instantly share code, notes, and snippets.

@daicham
Created January 11, 2012 08:48
Show Gist options
  • Save daicham/1593777 to your computer and use it in GitHub Desktop.
Save daicham/1593777 to your computer and use it in GitHub Desktop.
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