Sha256: 8c9e33d095bfcaa6104c1156b1a2456da4eefc3728b7f6432bb1eb7e8e051bde
Contents?: true
Size: 726 Bytes
Versions: 61
Compression:
Stored size: 726 Bytes
Contents
#!/usr/bin/ruby # encoding: utf-8 #begin; require 'faster_require'; rescue LoadError; end if RUBY_PLATFORM =~ /cygwin|mingw|win32/ 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
61 entries across 61 versions & 1 rubygems
Version | Path |
---|---|
six-updater-web-0.17.2 | bin/six-get |