diff options
Diffstat (limited to 'launch_here.rb')
-rwxr-xr-x | launch_here.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/launch_here.rb b/launch_here.rb index 80d6c39c..02ba7c8f 100755 --- a/launch_here.rb +++ b/launch_here.rb @@ -3,7 +3,10 @@ # Load rbot from this directory. (No need to install it with setup.rb) # -SCM_DIR = File.expand_path(File.dirname('__FILE__')) +SCM_DIR = File.expand_path File.dirname(__FILE__) + +Dir.chdir SCM_DIR + puts "Running from #{SCM_DIR}" $:.unshift File.join(SCM_DIR, 'lib') |