scope 'merb-gen' do dir = File.join(File.dirname(__FILE__), 'lib', 'generators/') Merb.add_generators dir + 'migration', dir + 'model', dir + 'resource_controller', dir + 'session_migration' end