Fix a bunch of Ruby warnings, including a bug in the not_found method
This commit is contained in:
parent
1d869b0c08
commit
397ccd2c1e
6 changed files with 10 additions and 10 deletions
|
@ -149,7 +149,7 @@ module Middleman
|
|||
|
||||
begin
|
||||
::WEBrick::HTTPServer.new(http_opts)
|
||||
rescue Errno::EADDRINUSE => e
|
||||
rescue Errno::EADDRINUSE
|
||||
logger.error "== Port #{port} is unavailable. Either close the instance of Middleman already running on #{port} or start this Middleman on a new port with: --port=#{port.to_i+1}"
|
||||
exit(1)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue