1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

Add config.ru to generator to simplify using MM with passenger or pow

This commit is contained in:
Thomas Reynolds 2011-04-08 11:48:47 -07:00
parent a6a0dfb0f0
commit 724c480390
2 changed files with 5 additions and 0 deletions

View file

@ -26,6 +26,7 @@ module Middleman
empty_directory File.join(location, "views")
else
template "default/config.tt", File.join(location, "config.rb")
template "default/config.ru", File.join(location, "config.ru")
directory "default/views", File.join(location, "views")
empty_directory File.join(location, "public", options[:css_dir])
empty_directory File.join(location, "public", options[:js_dir])

View file

@ -0,0 +1,4 @@
require 'rubygems'
require 'middleman'
run Middleman::Server