Sha256: ca62bf902d16ce210c72464867a90d4c980cc2f2fab6bef1113101da7fb87325

Contents?: true

Size: 500 Bytes

Versions: 8

Compression:

Stored size: 500 Bytes

Contents

Encoding.default_external = 'UTF-8'

require 'rubygems'
require 'bundler'

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

require 'gumdrop'

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


run Gumdrop::Server

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gumdrop-1.1.3 templates/default/config.ru
gumdrop-1.1.2 templates/default/config.ru
gumdrop-1.1.1 templates/default/config.ru
gumdrop-1.1.0 templates/default/config.ru
gumdrop-1.0.3 templates/default/config.ru
gumdrop-1.0.2 templates/default/config.ru
gumdrop-1.0.1 templates/default/config.ru
gumdrop-1.0.0 templates/default/config.ru