lib/rack/handler/rails-server.rb in rack-handlers-0.7.0 vs lib/rack/handler/rails-server.rb in rack-handlers-0.7.1
- 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 webrick].find do |s|
+ server = %w[yahns zbatery rainbows unicorn puma thin webrick].find do |s|
begin
require s
true
rescue LoadError
false