Sha256: 9c633c9eeb11fb036a28c80954c14fc2a787f3b7915396e74d219cebf41d8c8f
Contents?: true
Size: 375 Bytes
Versions: 11
Compression:
Stored size: 375 Bytes
Contents
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
Version data entries
11 entries across 11 versions & 2 rubygems