# Plugins initialization dir = File.expand_path("#{File.dirname(__FILE__)}/..") $LOAD_PATH << "#{dir}/plugin_a" $LOAD_PATH << "#{dir}/plugin_b" require 'plugin_b'