lib/madvertise/boot.rb in madvertise-ext-0.7.0 vs lib/madvertise/boot.rb in madvertise-ext-0.7.1
- old
+ new
@@ -29,9 +29,13 @@
Dir[File.join(File.dirname(__FILE__), '*.rb')].each do |f|
require f unless blacklist.include?(File.basename(f))
end
+if defined?(ROOT)
+ $:.unshift(ROOT)
+end
+
# load default configuration
$conf = Configuration.new
# configuration-reloading callbacks
reload_logger = ->(conf) do