summaryrefslogtreecommitdiff
path: root/lib/un.rb
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <[email protected]>2020-12-10 21:04:57 +0900
committerKazuhiro NISHIYAMA <[email protected]>2020-12-10 21:06:10 +0900
commitd5dfc3f2c833d62e4e0fb3145ed729f48b8e2a66 ()
tree0a50f8b82d608fef8172c65b3315d8a06189b535 /lib/un.rb
parent78f188524f551c97b1a7a44ae13514729f1a21c7 (diff)
Use `abort(message)` instead of `puts` and `exit`
-rw-r--r--lib/un.rb3
1 files changed, 1 insertions, 2 deletions
@@ -329,8 +329,7 @@ def httpd
begin
require 'webrick'
rescue LoadError
- puts "webrick is not found. You may need to `gem install webrick` to install webrick."
- exit
end
opt = options[:RequestTimeout] and options[:RequestTimeout] = opt.to_i
[:Port, :MaxClients].each do |name|