Sha256: 82c7f912d753cc6c69792ebded370e67d440073821a036c4e37af39b91952d98
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
#\ --warn --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/rack/application' require 'ruby_app/rack/route' require 'ruby_app/version' require '_APPLICATION_DOWNCODE_/application' require '_APPLICATION_DOWNCODE_/session' require '_APPLICATION_DOWNCODE_/version' use Rack::ShowExceptions use Rack::Session::Pool, :expire_after => 60 * 60 * 24 use Rack::Reloader use Rack::ContentLength use RubyApp::Rack::Application, :application_class => _APPLICATION_UPCODE_::Application, :session_class => _APPLICATION_UPCODE_::Session, :log_path => File.join(_APPLICATION_UPCODE_::ROOT, %w[log application.log]), :configuration_paths => File.join(_APPLICATION_UPCODE_::ROOT, %w[config.yml]), :default_language => :en, :translations_paths => File.join(_APPLICATION_UPCODE_::ROOT, %w[translations]) run RubyApp::Rack::Route.new map '/favicon.ico' do run Rack::File.new(File.join(RubyApp::ROOT, %w[resources favicon.ico])) end 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
RubyApp-0.0.89 | lib/ruby_app/templates/application/config.ru |