Out of the box, I encountered the following message after creating a copy of the provided example for web.cr
$ crystal build --release web.cr
Showing last frame. Use --error-trace for full trace.
In lib/kemal/src/kemal/static_file_handler.cr:55:25
55 | last_modified = modification_time(file_path)
^----------------
It probably has to do with modification_time being a private method?. Anyway, after forking the project and changing Kemal's target version the web UI file compiled without problems.
Might also want to change the instructions, as they instruct to compile it with crystal compile but the new command is crystal build.
Out of the box, I encountered the following message after creating a copy of the provided example for
web.cr
It probably has to do with modification_time being a private method?. Anyway, after forking the project and changing Kemal's target version the web UI file compiled without problems.
Might also want to change the instructions, as they instruct to compile it with
crystal compile
but the new command iscrystal build
.