#!/usr/local/bin/ruby require File.dirname(__FILE__) + '/../config/environments/production' def create_mailer_class(class_name, file_name, mail_actions) File.open("app/models/" + file_name + ".rb", "w", 0777) do |mailer_file| mailer_file.write <