begin require 'spec' rescue LoadError require 'rubygems' gem 'rspec' require 'spec' end ENV['DAEMON_ENV'] = 'test' require File.dirname(__FILE__) + '/../config/environment' DaemonKit::Application.running! Spec::Runner.configure do |config| end