[solved] Error on run simple kemal app - require 'zlib'

Hi, I made a simple program with Kemal and crystal (1.9.2) LLVM 15.0.7 and kemal version: ~> 0.26.1
I received this error when I tried to run:
There was a problem expanding macro ‘macro_140603603962160’

Code in lib/kemal/src/kemal/static_file_handler.cr:1:1

** 1 | {% if !flag?(:without_zlib) %}**
** ^**
Called macro defined in lib/kemal/src/kemal/static_file_handler.cr:1:1

** 1 | {% if !flag?(:without_zlib) %}**

Which expanded to:

** > 1 | **
** > 2 | require “zlib”**
** ^**
Error: can’t find file ‘zlib’

Any thoughts?

Pretty sure you want require "compress/zlib" and not require "zlib".

EDIT: Er this is coming from Kemal. Kemal version 0.26.1 is very old. Should upgrade to ideally the latest version and should be good to go.

Correct…old kemal version. I’ve got the code from a tutorial…sorry…totally noob.