Sha256: 49c7ccb01ca0a234f8f41d68a89b7e2b5308eb517dc787a8d07c10af598dcc76
Contents?: true
Size: 1.04 KB
Versions: 60
Compression:
Stored size: 1.04 KB
Contents
#\ --port 8008 --pid ./rack.pid $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), %w[lib])) require 'rubygems' require 'bundler/setup' require 'rack' require 'ruby_app' require 'ruby_app/rack' require '_APPLICATION_DOWNCODE_' use Rack::ShowExceptions use Rack::Reloader #use RubyApp::Rack::Duration #use RubyApp::Rack::Memory use RubyApp::Rack::Application, :configuration_paths => [ File.join(RubyApp::ROOT, %w[configuration.yml]), File.join(_APPLICATION_UPCODE_::ROOT, %w[configuration.yml])] map '/ruby_app/resources' do run Rack::File.new(File.join(RubyApp::ROOT, %w[resources])) end map '/_APPLICATION_DOWNCODE_/resources' do run Rack::File.new(File.join(_APPLICATION_UPCODE_::ROOT, %w[resources])) end map '/favicon.ico' do run Rack::File.new(File.join(RubyApp::ROOT, %w[resources favicon.ico])) end map '/' do use RubyApp::Rack::Request use RubyApp::Rack::Response use RubyApp::Rack::Language use RubyApp::Rack::Session run RubyApp::Rack::Route.new end
Version data entries
60 entries across 60 versions & 1 rubygems