Sha256: 9d899366c126a38c1d5d99bf92ff11e45b6ef6f12d283a66267f2a72683ab241

Contents?: true

Size: 668 Bytes

Versions: 61

Compression:

Stored size: 668 Bytes

Contents

#!/usr/bin/ruby
# encoding: utf-8
#begin; require 'faster_require'; rescue LoadError; end if RUBY_PLATFORM =~ /cygwin|mingw|win32/
require 'rake'

begin
  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.24.15 bin/six-updater-web-rake
six-updater-web-0.24.14 bin/six-updater-web-rake
six-updater-web-0.24.13 bin/six-updater-web-rake
six-updater-web-0.24.12 bin/six-updater-web-rake
six-updater-web-0.24.11 bin/six-updater-web-rake
six-updater-web-0.24.10 bin/six-updater-web-rake
six-updater-web-0.24.9 bin/six-updater-web-rake
six-updater-web-0.24.8 bin/six-updater-web-rake
six-updater-web-0.24.7 bin/six-updater-web-rake
six-updater-web-0.24.6 bin/six-updater-web-rake
six-updater-web-0.24.5 bin/six-updater-web-rake
six-updater-web-0.24.4 bin/six-updater-web-rake
six-updater-web-0.24.3 bin/six-updater-web-rake
six-updater-web-0.24.2 bin/six-updater-web-rake
six-updater-web-0.24.1 bin/six-updater-web-rake
six-updater-web-0.24.0 bin/six-updater-web-rake
six-updater-web-0.23.7 bin/six-updater-web-rake
six-updater-web-0.23.6 bin/six-updater-web-rake
six-updater-web-0.23.5 bin/six-updater-web-rake
six-updater-web-0.23.4 bin/six-updater-web-rake