Sha256: cf819779e342dd20b7c7864116ca9e257ce5a7ab8aa529d14b9ea9ff2900bad3

Contents?: true

Size: 408 Bytes

Versions: 3

Compression:

Stored size: 408 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.parse
  cli.run
rescue => e
  raise e if $DEBUG
  STDERR.puts e.message
  STDERR.puts e.backtrace.join("\n")
  exit 1
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-0.8.0 bin/sidekiq
sidekiq-0.7.0 bin/sidekiq
sidekiq-0.6.0 bin/sidekiq