Sha256: 7a5c05bbdee9f56cb87e8da403b9db6dd294751d0458727c6dfe79cd8ee6cc25

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

base_dir = File.expand_path(File.dirname(__FILE__))
lib_dir = File.join(base_dir, "lib")
$LOAD_PATH.unshift(lib_dir)
require "feedcellar/web"

ENV["FEEDCELLAR_HOME"] ||= File.join(base_dir, ".feedcellar")

if ENV["FEEDCELLAR_ENABLE_CACHE"]
  require "racknga"
  require "racknga/middleware/cache"

  cache_database_path = File.join(base_dir, "var", "cache", "db")
  use Racknga::Middleware::Cache, :database_path => cache_database_path
end

run Feedcellar::Web

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feedcellar-0.4.0 config.ru