lib/bivouac/template/application/postamble.rb in bivouac-0.0.7 vs lib/bivouac/template/application/postamble.rb in bivouac-0.0.8
- old
+ new
@@ -35,9 +35,10 @@
require 'camping/webrick'
@@server = WEBrick::HTTPServer.new :BindAddress => config.environment.address, :Port => config.environment.port
puts "** <%= @appname %> is running at http://#{config.environment.address}:#{config.environment.port}"
@@server.mount "/", WEBrick::CampingHandler, <%= @appname %>
+ @@server.start
end
end
def self.stop
begin