Created
June 11, 2012 19:36
-
-
Save carimura/2912178 to your computer and use it in GitHub Desktop.
workers/iron_mailer.worker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runtime "ruby" | |
# Naming our worker (this is an arbitrary string, we like camelcasing) | |
name "IronMailer" | |
# The actual worker file to execute | |
exec "iron_mailer.rb" | |
# Merging all of our Rails apps models | |
dir '../app/models' | |
# Merging our mailer view | |
dir '../app/views/mailer' | |
# including the email layout and putting into the /layouts directory | |
file "../app/views/layouts/email.html.erb", "layouts" | |
# including our settings file | |
file "../config/settings.yml" | |
# including the action_mailer gem | |
gem "actionmailer" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think last file keyword should be:
file "../app/config/settings.yml"