Sha256: ad6aa57e9891b5974027419be534170c8246ecdcca6ea4fad97167f1ae95a074
Contents?: true
Size: 719 Bytes
Versions: 27
Compression:
Stored size: 719 Bytes
Contents
#\ --port 8000 --pid ./rack.pid require 'rubygems' require 'bundler/setup' require 'rack' require 'ruby_app' require 'ruby_app/rack' 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])] map '/ruby_app/resources' do run Rack::File.new(File.join(RubyApp::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
27 entries across 27 versions & 1 rubygems