adaoraul/rack-jekyll — Issue #6: Doesn't work on Pow
Author: tubbo
Created: 2011-12-08 05:45:22+00:00
State: open

I constantly get the message `This site is currently generating pages. Please reload this page after 10 secs.`.

Here's my Rackup:

#
# dependencies
#
require 'rack'
require 'rack/jekyll'
require File.join(File.dirname(__FILE__), 'lib', 'status_exchange')
require 'sprockets'

# Sprockets asset management
map '/files' do
assets = Sprockets::Environment.new
assets.append_path 'css'
assets.append_path 'js'
assets.append_path 'img'
run assets
end

# StatusExchange ticker service
map '/status.json' do
status_exchange = StatusExchange.new
run status_exchange
end

# The static Jekyll site
run Rack::Jekyll.new