Sha256: 577e2c90208e540e7d7d1bea06b3e198d1365b0a43ec3b3d537dab8269e01014

Contents?: true

Size: 478 Bytes

Versions: 3

Compression:

Stored size: 478 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib')

require 'everqueen'

begin
  # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
  success = Everqueen::Cli.execute(ARGV.dup)
  Kernel.exit(success ? 0 : 1)
rescue SystemExit => e
  Kernel.exit(e.status)
rescue Exception => e
  STDERR.puts("#{e.message} (#{e.class})")
  STDERR.puts(e.backtrace.join("\n"))
  Kernel.exit(1)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
everqueen-1.1.1 bin/everqueen
everqueen-1.1.0 bin/everqueen
everqueen-1.0.1 bin/everqueen