From ffcfe5cc160f3d0a3213f3d450d8969ac95460ba Mon Sep 17 00:00:00 2001 From: David Kellum Date: Thu, 19 Jul 2018 09:53:29 -0700 Subject: [PATCH] Use rack server.options writer properly in bin/fishwife Previously this was relying on in-place mutation which is no longer supported in rack 2.0 github: #20 --- bin/fishwife | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/fishwife b/bin/fishwife index fb99417..47cb948 100755 --- a/bin/fishwife +++ b/bin/fishwife @@ -31,5 +31,7 @@ end require 'fishwife' server = Rack::Server.new -server.options[:server] = 'Fishwife' +opts = server.options +opts[:server] = 'Fishwife' +server.options = opts server.start