Skip to content

Instantly share code, notes, and snippets.

@secondstar
Created July 3, 2013 04:23
Show Gist options
  • Save secondstar/5915443 to your computer and use it in GitHub Desktop.
Save secondstar/5915443 to your computer and use it in GitHub Desktop.
pdf_processor.worker
# define the runtime language
runtime "ruby"
# build on iron.io server
remote
# debian packages
merge_deb 'http://ubuntu.mirrors.tds.net/pub/ubuntu//pool/main/g/ghostscript/ghostscript_9.05~dfsg-0ubuntu4_amd64.deb'
# employ gems
gem "iron_worker_ng", "~> 0.16.4"
gem "iron_cache"
gem "ironmq", "~> 1.2.8"
gem 'aws'
gem 'subexec'
gem 'grim'
# exec is the file that will be executed:
exec "pdf_processor.rb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment