Sha256: 89aea4cdc027745067facb04c6fe086af3a405736660ce6cab7d93d409f7dd8c

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

require 'bundler'

env = ENV['RACK_ENV'] || :development
Bundler.require :default, env

begin
  log = open(File.expand_path("../log/#{env}.log", __FILE__), 'a+').tap {|f| f.sync = true }
rescue
  # Heroku don't allow local file access
  log = $stdout
end

use Rack::CommonLogger, log

map '/stanza/assets' do
  run TogoStanza.sprockets
end

map '/stanza' do
  run TogoStanza::Application
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
togostanza-0.1.1 templates/provider/config.ru.erb