Created
April 30, 2013 18:50
-
-
Save hayeah/5490967 to your computer and use it in GitHub Desktop.
Starting sidekiq worker process using zeus for faster testing
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
# adapted from bin/sidekiq | |
# to invoke, run: zeus runner sidekiq.rb | |
require 'sidekiq/cli' | |
begin | |
cli = Sidekiq::CLI.instance | |
cli.parse | |
cli.run | |
rescue => e | |
raise e if $DEBUG | |
STDERR.puts e.message | |
STDERR.puts e.backtrace.join("\n") | |
exit 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment