#!/usr/bin/ruby.ruby2.5
# frozen_string_literal: true

#
# This file was generated by Bundler.
#
# The application 'sidekiq' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
  Pathname.new(__FILE__).realpath)

require "rubygems"
require "bundler/setup"
require "sidekiq/cli"

# Parse Sidekiq CLI arguments first (including -e)
Sidekiq::CLI.instance.parse

require_relative "../config/environment"
Sidekiq::CLI.instance.run
