Sha256: f3e9184ea29bae484b29bb11c41a1b6318e76cbd66b4a16f915dc3ba16f5fc6f
Contents?: true
Size: 464 Bytes
Versions: 9
Compression:
Stored size: 464 Bytes
Contents
#!/usr/bin/env ruby require 'pathname' begin require File.dirname(__FILE__) + "/../vendor/html_mockup/lib/html_mockup/server" rescue LoadError => e require 'rubygems' require 'html_mockup/server' end root_path = Pathname.new(File.dirname(__FILE__)) + "../html" partial_path = (root_path + "../partials/").realpath mockup = HtmlMockup::Server.new(root_path,partial_path) # Add some of your own middleware here. # mockup.use Rack::CommonLogger mockup.run
Version data entries
9 entries across 9 versions & 2 rubygems