Sha256: 1e597cf61e9d6ba4a72d1d02a623d14d2372925d91666d0d9ef3f4b1079fba0f
Contents?: true
Size: 460 Bytes
Versions: 109
Compression:
Stored size: 460 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../lib') require 'spork' require 'spork/runner' begin success = Spork::Runner.run(ARGV, STDOUT, STDERR) 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
109 entries across 109 versions & 9 rubygems