#!/bin/sh

# go home
cd `dirname $0`/..

# set env relative to within the samples directory
SAMPLE_HOME=${SAMPLE_HOME:=$(pwd)}
RUBY_TOOLKIT_HOME=${RUBY_TOOLKIT_HOME:=../../ruby-toolkit}

RUNTIME_LIB=../sdk/runtime/lib
SAMPLE_LIB=$SAMPLE_HOME/lib
SDK_LIB=${SDK_LIB:=../sdk}

#set -x
ruby -I$RUNTIME_LIB -I$SDK_LIB -I$SAMPLE_LIB bin/launcher.rb $@

