Sha256: b92743539b0dc05a9ab332e45bca06f4ce52a376a4e15b35c1777e6d683d385e

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

#!/usr/bin/env ruby

begin
  require 'sidekiq/cli'
rescue LoadError
  # Better way to do this in dev?
  dir = File.expand_path(File.dirname(__FILE__) + '/../lib') 
  $LOAD_PATH << dir if File.exist?("#{dir}/sidekiq.rb")
  require 'sidekiq/cli'
end

begin
  cli = Sidekiq::CLI.new
  cli.run
rescue => e
  raise e if $DEBUG
  STDERR.puts e.message
  exit 1
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-0.5.1 bin/sidekiq
sidekiq-0.5.0 bin/sidekiq