Sha256: 481ef7762df18641eba4530e482d5b42a1ed4cdbdc94f5ca727124ff2f72e445
Contents?: true
Size: 478 Bytes
Versions: 18
Compression:
Stored size: 478 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib') require 'evergreen' begin # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn. success = Evergreen::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
18 entries across 18 versions & 4 rubygems