Create a Custom Ruby Interpreter (rubyscript2exe)

# 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
Advertisements

~ by Tyler Church on July 29, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: