# Load everything the main script and tests will require.
#
+require 'logger'
+require 'whatever-dl/exit_codes'
require 'whatever-dl/configuration'
require 'whatever-dl/downloader'
# The Dir.glob that's coming up doesn't use the
# Ruby library path so we need to tell it where to
# look explicitly.
-websites_pattern = File.dirname(my_path) + 'whatever-dl/websites/*.rb'
+websites_pattern = File.dirname(my_path) + '/whatever-dl/websites/*.rb'
# All of the website classes are located in one
# directory, so we can 'require' them automatically.