lib/rack/lobster.rb in rack-1.4.7 vs lib/rack/lobster.rb in rack-1.5.0.beta.1

- old
+ new

@@ -57,9 +57,9 @@ end if $0 == __FILE__ require 'rack' require 'rack/showexceptions' - Rack::Handler::WEBrick.run \ - Rack::ShowExceptions.new(Rack::Lint.new(Rack::Lobster.new)), - :Port => 9292 + Rack::Server.start( + :app => Rack::ShowExceptions.new(Rack::Lint.new(Rack::Lobster.new)), :Port => 9292 + ) end