diff --git a/lib/puma/configuration.rb b/lib/puma/configuration.rb index 91117495..71f58ae7 100644 --- a/lib/puma/configuration.rb +++ b/lib/puma/configuration.rb @@ -103,7 +103,7 @@ module Puma @options.merge!(rack_options) config_ru_binds = rack_options.each_with_object([]) do |(k, v), b| - b << v if k.start_with?('bind') + b << v if k.to_s[0,4] == "bind" end @options[:binds] = config_ru_binds unless config_ru_binds.empty?