Sha256: e51bde7326ed0ddee4485c5de6c53ba60ef6be77844a50b719d86470a2bd7b43
Contents?: true
Size: 304 Bytes
Versions: 11
Compression:
Stored size: 304 Bytes
Contents
#!/usr/bin/env ruby STDERR.sync = STDOUT.sync = true require "zhong" file = ARGV.shift or abort "zhong <path to zhong.rb>" file = "./#{file}" unless file.match(/^[\/.]/) require file begin Zhong.start rescue => boom STDERR.puts boom.message STDERR.puts boom.backtrace.join("\n") exit 1 end
Version data entries
11 entries across 11 versions & 1 rubygems