Sha256: 74fcc24014648e076006e7ee9951d0378bc5f47c8632d8b99da0a1dd0e8573f7
Contents?: true
Size: 1.05 KB
Versions: 55
Compression:
Stored size: 1.05 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 '/google_button.ico' do run Rack::File.new(File.join(RubyApp::ROOT, %w[resources google_button.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
55 entries across 55 versions & 1 rubygems