Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Transform your Jekyll app into Rack application!
Ruby JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
features
lib/rack
spec
test
.gitignore
Gemfile
LICENSE
README.markdown
Rakefile
Thorfile
rack-jekyll.gemspec

README.markdown

Rack-Jekyll

Transform your Jekyll app into Rack application

You can run it with rackup and shotgun, unicorn.

Heroku Demo: http://bry4n.heroku.com/

How to use it?

config.ru is required in order to run with shotgun and rackup. Even you can deploy your jekyll app to Heroku!

Copy this and put in config.ru in your jekyll's root directory.

config.ru:

require "rack/jekyll"

run Rack::Jekyll.new

That's it.

Heroku is a read-only filesystem:

You need to generate pages and git-add pages and git-commit before you deploy your jekyll to Heroku

1) cd to your jekyll directory

2) add config.ru (see example above)

3) build pages, type: jekyll

4) echo "rack-jekyll" > .gems

5) git init && git add config.ru .gems _site/*

6) git commit -m "first heroku app"

7) heroku create

8) git push heroku master

404 page

You can create a new file: 404.html with YAML Front Matter. See my Heroku Demo 404

Something went wrong with that request. Please try again.