#!/usr/bin/env ruby ENV['RUBYOPT'] = "-rdate #{ENV['RUBYOPT']}" lib = File.join(File.dirname(File.dirname(__FILE__)), 'lib') ENV['RUBYLIB'] = [lib, File.join(lib, 'third_base', 'compat'), ENV['RUBYLIB']].join(RUBY_PLATFORM =~ /win32/ ? ';' : ':') exec(*ARGV)