Sha256: 37685a8e3901891d2e32a12e02e2678d7bea098c990629b91d6ed14040d77c10
Contents?: true
Size: 741 Bytes
Versions: 4
Compression:
Stored size: 741 Bytes
Contents
# # A Rack handler for Jetty 8. # # Written by Don Werve <don@madwombat.com> # # Save our launch environment for spawning children later. module Mizuno LAUNCH_ENV = $LOAD_PATH.map { |i| "-I#{i}" }.push($0) end # Load up Java dependencies. require 'java' jars = File.join(File.dirname(__FILE__), 'java', '*.jar') Dir[jars].each { |j| require j } # Tell log4j not to complain to the console about a missing # log4j.properties file, as we configure it programmatically in # Mizuno::HttpServer (http://stackoverflow.com/questions/6849887) Java.org.apache.log4j.Logger.getRootLogger.setLevel( \ Java.org.apache.log4j.Level::INFO) require 'rack' require 'mizuno/rack/chunked' require 'mizuno/rack_servlet' require 'mizuno/http_server'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mizuno-0.6.1 | lib/mizuno.rb |
mizuno-0.6.0 | lib/mizuno.rb |
mizuno-0.5.1 | lib/mizuno.rb |
mizuno-0.5.0 | lib/mizuno.rb |