The most important option for debugging this kind of thing is the --
trace option. You'll get a lot more help if you post the complete
rake db:create:all --trace
However, I'd also recommend that you look for the string
'action_mailer_optional_tls' in your source files - that's most likely
the source of the error.