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