* (plugins/url) get_title_for_url(uri_str, opts={})
[rbot] / launch_here.rb
1 #!/usr/bin/ruby
2 #
3 # Load rbot from this directory. (No need to install it with setup.rb)
4 #
5
6 SVN_DIR = File.expand_path(File.dirname('__FILE__'))
7 puts "Running from #{SVN_DIR}"
8
9 $:.unshift File.join(SVN_DIR, 'lib')
10
11 module Irc
12 class Bot
13   module Config
14     @@datadir = File.join SVN_DIR, 'data/rbot'
15     @@coredir = File.join SVN_DIR, 'lib/rbot/core'
16   end
17 end
18 end
19
20 load File.join(SVN_DIR, 'bin/rbot')