Sha256: ace8984c4c2f3ed70eee8327b1782fa4f8a7e09bbcaa661be4a604d9abb347aa
Contents?: true
Size: 628 Bytes
Versions: 4
Compression:
Stored size: 628 Bytes
Contents
#!/usr/bin/ruby # encoding: utf-8 require 'rake' begin unless ARGV.empty? ARGV[0] = "get:#{ARGV[0]}" end load 'six-updater-web/_rake.rb' rescue => e puts e.class, e.message, e.backtrace.join("\n") begin require 'fileutils' path = File.join(SixUpdaterWeb::DATA_PATH, 'logs') FileUtils.mkdir_p path unless File.exists?(path) File.open(File.join(path, "six-updater-web-error.log"), 'w') {|f| f.puts e.class, e.message, e.backtrace.join("\n")} rescue => e puts "ERROR: #{e.class}: #{e.message} #{e.backtrace.join("\n")}" end sleep 5 Process.exit(1) # Return error-1 end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
six-updater-web-0.17.0 | bin/six-get |
six-updater-web-0.16.3 | bin/six-get |
six-updater-web-0.16.2 | bin/six-get |
six-updater-web-0.16.0 | bin/six-get |