/ public / config.ru
config.ru
 1  # This file is used by Rack-based servers to start the application.
 2  
 3  require_relative 'config/environment'
 4  
 5  module Rack
 6    class Server
 7      alias :options_pre_mizuno :options
 8  
 9      # It seems like there should be an easier way to pass options to the
10      # underlying server, but I'm yet to find it.  So here's this.
11      def options
12        result = options_pre_mizuno
13        result[:reuse_address] = true
14        result
15      end
16    end
17  end
18  
19  run Rails.application