require 'erb' require 'miso' $miso_app_folder = ::File.expand_path(::File.dirname(__FILE__))+'/..' $miso_app_dir_list = ::Dir[$miso_app_folder+'/*'].reject{|o| not ::File.directory?(o)} $miso_version = Miso::VERSION $miso_page = '' ::File.open("miso.erb", "r") do |infile| infile.each do |line| $miso_page<'text/html'}, ERB.new($miso_page).result] end run @app