bin/mizuno in mizuno-0.4.1 vs bin/mizuno in mizuno-0.5.0
- old
+ new
@@ -1,10 +1,9 @@
#!/usr/bin/env ruby
raise("Mizuno only runs on JRuby.") unless (RUBY_PLATFORM =~ /java/)
-require 'rack'
+require 'rubygems'
require 'mizuno'
+require 'mizuno/runner'
-server = Rack::Server.new
-server.options[:server] = 'mizuno'
-server.start
+Mizuno::Runner.start!