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

Version Path
RubyApp-0.6.27 lib/ruby_app/configuration.ru
RubyApp-0.6.26 lib/ruby_app/configuration.ru
RubyApp-0.6.25 lib/ruby_app/configuration.ru
RubyApp-0.6.24 lib/ruby_app/configuration.ru
RubyApp-0.6.22 lib/ruby_app/configuration.ru
RubyApp-0.6.21 lib/ruby_app/configuration.ru
RubyApp-0.6.16 lib/ruby_app/configuration.ru
RubyApp-0.6.12 lib/ruby_app/configuration.ru
RubyApp-0.6.11 lib/ruby_app/configuration.ru
RubyApp-0.6.10 lib/ruby_app/configuration.ru
RubyApp-0.6.8 lib/ruby_app/configuration.ru
RubyApp-0.6.7 lib/ruby_app/configuration.ru
RubyApp-0.6.2 lib/ruby_app/configuration.ru
RubyApp-0.6.1 lib/ruby_app/configuration.ru
RubyApp-0.5.95 lib/ruby_app/configuration.ru
RubyApp-0.5.99 lib/ruby_app/configuration.ru
RubyApp-0.5.98 lib/ruby_app/configuration.ru
RubyApp-0.5.97 lib/ruby_app/configuration.ru
RubyApp-0.5.96 lib/ruby_app/configuration.ru
RubyApp-0.5.94 lib/ruby_app/configuration.ru