Skip to content

Instantly share code, notes, and snippets.

@vmi
Created February 7, 2013 09:55
Show Gist options
  • Save vmi/4729976 to your computer and use it in GitHub Desktop.
Save vmi/4729976 to your computer and use it in GitHub Desktop.
@echo off
set P=%0
ruby -S -x %P:\=/% %*
goto end
#! ruby
# -*- coding: Windows-31J -*-
$stdout.set_encoding('UTF-8', 'Windows-31J')
$stderr.set_encoding('UTF-8', 'Windows-31J')
puts "てすと"
__END__
:end
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment