Ruby Interpreter With Rubygame (rubyscript2exe)

From Rubygame

Jump to: navigation, search

This wiki has moved! You can view and edit the new wiki on GitHub!

# Run this script through rubyscript2exe
# After that you can run the executable like it was the ruby interpreter
 
# if you need a fixed rubyscript2exe (say for ruby 1.8.7):
# http://github.com/ryanbooker/rubyscript2exe
 
# Require all needed libraries here
require 'rubygems'
require 'rubygame'
 
unless ARGV[0] == nil
	require File.dirname(RUBYSCRIPT2EXE::APPEXE) + '/' + ARGV[0]
end
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox