2010-01-22 05:54:23 +00:00
|
|
|
libdir = File.dirname(__FILE__)
|
|
|
|
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
2010-01-22 07:38:23 +00:00
|
|
|
PROJECT_ROOT = File.join(libdir, '..')
|
|
|
|
|
2010-01-22 05:54:23 +00:00
|
|
|
require 'ostruct'
|
2010-01-22 07:38:23 +00:00
|
|
|
require 'ftools'
|
2010-01-22 07:52:10 +00:00
|
|
|
require 'logger'
|
2010-01-22 05:54:23 +00:00
|
|
|
require 'hobo/config'
|
2010-01-22 07:38:23 +00:00
|
|
|
require 'hobo/env'
|
2010-01-26 08:01:17 +00:00
|
|
|
require 'hobo/ssh'
|
2010-01-22 07:52:10 +00:00
|
|
|
|
|
|
|
# TODO: Make this configurable
|
|
|
|
HOBO_LOGGER = Logger.new(STDOUT)
|
2010-01-26 08:01:17 +00:00
|
|
|
Hobo::Env.load_config
|