# make sure we're running inside Merb if defined?(Merb::Plugins) dependency 'virtuozzo', '~>0.5' require File.join(File.dirname(__FILE__) / "merb_virtuozzo" / "merb_virtuozzo") Merb::BootLoader.before_app_loads do # code that can be required before the application loads Merb::Virtuozzo.connect end Merb::BootLoader.after_app_loads do # code that can be required after the application loads end Merb::Plugins.add_rakefiles "merb_virtuozzo/merbtasks" end