JezK
Edit File: config.rb
root = File.expand_path("#{File.dirname(__FILE__)}/../..") Dir.chdir("#{root}/test") $LOAD_PATH.unshift("#{root}/lib", "#{root}/ext") require 'yaml' begin CONFIG = YAML::load_file('config.yml') rescue Errno::ENOENT STDERR.puts "*** You do not have the file test/config.yml. " << "Please copy test/config.yml.example to " << "test/config.yml, and edit it." exit 1 end