Skip to content

Commit 26c88e1

Browse files
committed
Remove commented out code referencing webrick from config.ru
Also remove the other comments. The `if defined?(Puma)` makes it obvious why nio is eagerly required, and Unicorn doesn't need any changes.
1 parent aa9497c commit 26c88e1

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

config.ru

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,7 @@ if freeze_core
2424
require 'refrigerator'
2525
rescue LoadError
2626
else
27-
28-
# When enabling refrigerator, you may need to load additional
29-
# libraries before freezing the core to work correctly. You'll
30-
# want to uncomment the appropriate lines below if you run into
31-
# problems after enabling refrigerator.
32-
33-
# rackup -s webrick
34-
#require 'forwardable'
35-
#require 'webrick'
36-
37-
# Puma
3827
require 'nio' if defined?(Puma)
39-
40-
# Unicorn (no changes needed)
41-
4228
Refrigerator.freeze_core
4329
end
4430
end

0 commit comments

Comments
 (0)