lib/rack/handler/rails-server.rb in rack-handlers-0.6.1 vs lib/rack/handler/rails-server.rb in rack-handlers-0.7.0
- old
+ new
@@ -1,7 +1,7 @@
if ARGV[0] && ARGV[0] == 'server'[0, ARGV[0].size] && ARGV[1] !~ /^\w+/
- server = %w[zbatery rainbows unicorn puma thin].find do |s|
+ server = %w[zbatery rainbows unicorn puma thin webrick].find do |s|
begin
require s
true
rescue LoadError
false