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