Note: This was a first experiment. But I decided to continue in JavaScript: https://github.com/thomaspuppe/easto
A static-site generator
Create the output: ruby run.rb
Start a local webserver at http://localhost:8000/ :
`ruby -rwebrick -e'WEBrick::HTTPServer.new(:Port => 8000, :DocumentRoot => Dir.pwd+"/output").start'`
Kudos to https://gist.github.com/willurd/5720255
Copy output
folder to gh-pages
branch.
git subtree push --prefix output origin gh-pages