Sha256: 4fd41249194b268d19cab9372a74875a7113e2c7b8680215482484475e002e60

Contents?: true

Size: 481 Bytes

Versions: 5

Compression:

Stored size: 481 Bytes

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

require 'gumdrop'

Gumdrop.config.auto_run= false
Gumdrop.config.force_reload= true

require 'rack/static'
#use Rack::Static, :urls => ["/media"], :root => "source"
use Rack::Static, :urls => ["/theme/images"], :root => "source"


run Gumdrop::Server

Version data entries

5 entries across 3 versions & 1 rubygems

Version Path
gumdrop-0.3.3 lib/gumdrop/template/backbone/config.ru
gumdrop-0.3.3 lib/gumdrop/template/default/config.ru
gumdrop-0.3.2 lib/gumdrop/template/backbone/config.ru
gumdrop-0.3.2 lib/gumdrop/template/default/config.ru
gumdrop-0.3 lib/gumdrop/template/default/config.ru