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

Version Path
RubyApp-0.7.16 lib/ruby_app/console.rb
RubyApp-0.7.15 lib/ruby_app/console.rb
RubyApp-0.7.14 lib/ruby_app/console.rb
RubyApp-0.7.13 lib/ruby_app/console.rb
RubyApp-0.7.12 lib/ruby_app/console.rb
RubyApp-0.7.11 lib/ruby_app/console.rb
RubyApp-0.7.10 lib/ruby_app/console.rb
RubyApp-0.7.9 lib/ruby_app/console.rb
RubyApp-0.7.5 lib/ruby_app/console.rb
RubyApp-0.7.4 lib/ruby_app/console.rb
RubyApp-0.7.3 lib/ruby_app/console.rb
RubyApp-0.7.2 lib/ruby_app/console.rb
RubyApp-0.7.1 lib/ruby_app/console.rb
RubyApp-0.7.0 lib/ruby_app/console.rb