3 # Load rbot from this directory. (No need to install it with setup.rb)
6 SCM_DIR = File.expand_path File.dirname(__FILE__)
7 $0 = File.expand_path $0
11 puts "Running from #{SCM_DIR}"
13 $:.unshift File.join(SCM_DIR, 'lib')
18 @@datadir = File.join SCM_DIR, 'data/rbot'
19 @@coredir = File.join SCM_DIR, 'lib/rbot/core'
24 load File.join(SCM_DIR, 'bin/rbot')