Skip to content

Instantly share code, notes, and snippets.

@brutuscat
Created November 1, 2012 20:37
Show Gist options
  • Save brutuscat/3996338 to your computer and use it in GitHub Desktop.
Save brutuscat/3996338 to your computer and use it in GitHub Desktop.
config.ru
# encoding: UTF-8
# config.ru
require 'rack'
require 'haml'
require 'haml_file'
app = proc do |env|
HamlFile.new('views').call(env)
end
run app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment