Sha256: d19a23b95cba53b5ca3d07fbec0f53e5331f4ab2a3a804117311aaebfbd6491a

Contents?: true

Size: 543 Bytes

Versions: 5

Compression:

Stored size: 543 Bytes

Contents

# This file exists to make this project Rack-compatible.
# You may delete it if you're not concerned about this.

require 'rubygems'  unless defined?(::Gem)

# Use Bundler if possible.
begin
  require 'bundler'
  Bundler.setup
rescue LoadError
  gem 'proton', '0.3.2'
end

# Optional: use the 'rack-cache' gem for cacheing.
if ENV['RACK_ENV'] == 'production'
  begin
    require 'rack/cache'
    use Rack::Cache
  rescue LoadError
  end
end

# Load Proton.
require 'proton/server'
Proton::Project.new File.dirname(__FILE__)
run Proton::Server

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
proton-0.3.6 data/rack/config.ru
proton-0.3.5 data/rack/config.ru
proton-0.3.4 data/rack/config.ru
proton-0.3.3 data/rack/config.ru
proton-0.3.2 data/rack/config.ru