Created
August 23, 2012 14:50
-
-
Save devth/3437358 to your computer and use it in GitHub Desktop.
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
# IronCore::Logger.logger.level = ::Logger::DEBUG | |
IronCore::Logger.logger = Rails.logger | |
# Reference any workers to be uploaded | |
worker = IronWorkerNG::Code::Base.new(:workerfile => '../../workers/email_export.worker') | |
Rails.logger.info("Uploading #{worker.name}") | |
# Initialize the client | |
client = IronWorkerNG::Client.new | |
# Upload the code | |
client.codes.create(worker) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment