Sha256: 074b4d5f9f3c89672916af7497837d5d619842ffedee77b1c7b4c7bc71e385fb
Contents?: true
Size: 719 Bytes
Versions: 14
Compression:
Stored size: 719 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'ruby_app' # Placeholder for template application LOAD_PATH.unshift ... # Placeholder for template application require RubyApp::Configuration.load!([File.join(RubyApp::ROOT, %w[configuration.yml])]) # Placeholder for template application configuration RubyApp::Log.open! RubyApp::Application.create! Signal.trap('HUP') do begin RubyApp::Log.reopen! rescue => exception RubyApp::Log.exception(RubyApp::Log::ERROR, exception) end end Signal.trap('EXIT') do begin RubyApp::Application.destroy! RubyApp::Log.close! RubyApp::Configuration.unload! rescue => exception RubyApp::Log.exception(RubyApp::Log::ERROR, exception) end end
Version data entries
14 entries across 14 versions & 1 rubygems