2010-01-22 05:54:23 +00:00
|
|
|
libdir = File.dirname(__FILE__)
|
2010-01-30 04:38:36 +00:00
|
|
|
$:.unshift(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-30 06:21:35 +00:00
|
|
|
require 'virtualbox'
|
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-30 06:21:35 +00:00
|
|
|
require 'hobo/vm'
|
2010-01-22 07:52:10 +00:00
|
|
|
|
|
|
|
# TODO: Make this configurable
|
2010-01-30 04:38:36 +00:00
|
|
|
log_output = ENV['HOBO_ENV'] == 'test' ? nil : STDOUT
|
|
|
|
HOBO_LOGGER = Logger.new(log_output)
|
2010-01-26 08:01:17 +00:00
|
|
|
Hobo::Env.load_config
|