Sha256: 9d8202b6215785ce472b940a4b72609f37cdbbef6d71eae2c28e1b64f2a20875

Contents?: true

Size: 1.37 KB

Versions: 34

Compression:

Stored size: 1.37 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
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

34 entries across 34 versions & 1 rubygems

Version Path
RubyApp-0.0.88 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.87 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.86 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.85 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.84 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.83 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.82 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.81 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.80 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.79 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.78 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.77 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.76 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.75 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.74 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.73 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.72 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.71 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.70 lib/ruby_app/templates/application/config.ru
RubyApp-0.0.69 lib/ruby_app/templates/application/config.ru