-
-
Save jcap49/2da08b784520403cf1e1 to your computer and use it in GitHub Desktop.
This file contains 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
# master.worker located in ./workers | |
runtime "ruby" | |
# name the worker | |
name "Master" | |
# include all the gems | |
gem "iron_worker_ng" | |
gem 'activerecord' | |
gem 'activemodel' | |
gem 'pg' | |
gem 'twilio-ruby' | |
# make sure pg is good to go | |
full_remote_build true | |
# include iron.io and twilio settings | |
file "../config/application.yml" | |
# include text message & user model | |
dir "../app/models" | |
file "../app/models/text_message.rb" | |
file "../app/models/user.rb" | |
# worker file to be executed | |
exec "master.rb" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment