Skip to content

Instantly share code, notes, and snippets.

@cwoodcox
Created April 5, 2013 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwoodcox/5323288 to your computer and use it in GitHub Desktop.
Save cwoodcox/5323288 to your computer and use it in GitHub Desktop.
quick rack config file to serve a jekyll site so i can point pow at it
require 'rack/rewrite'
use Rack::Rewrite do
rewrite '/', 'index.html'
end
run Rack::Directory.new(File.join File.dirname(__FILE__), '_site')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment