'rubyzip' gem taking too much time onload

Hey guys,

Since April, SU 2022 was taking more time to load than usual. Once when looked further, it was found that ‘rubyzip’ gem is causing the time delay. Is there any one experiencing similar issue or could anyone guide me to resolve the issue.

Some other extensions might be loading “rubyzip” before - yours you can check if it’s already loaded and only load it if it’s not…
For example, something like…

require('zlib') unless defined?(Zlib) ### in case fails
require('zip')  unless defined?(Zip) ### in case missing

which might avoid the checking and delay ??

The particular gem been loaded only once and its not reloaded again.