better message

This commit is contained in:
Fijxu 2026-08-06 15:45:39 -04:00
parent b6f1b886c7
commit f1ac178faf
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4

View File

@ -56,7 +56,8 @@ require "./invidious/jobs/*"
{% if compare_versions(Crystal::VERSION, "1.12.0") < 0 %} {% if compare_versions(Crystal::VERSION, "1.12.0") < 0 %}
{{ raise "Crystal version 1.12.0 or newer is required to build Invidious, \ {{ raise "Crystal version 1.12.0 or newer is required to build Invidious, \
you currently have Crystal version #{Crystal::VERSION}, \ you currently have Crystal version #{Crystal::VERSION}, \
update it to a new version to be able to build Invidious." }} update it to a new version to be able to build Invidious. \
For more information, visit the official Crystal compiler website: https://crystal-lang.org/install/" }}
{% end %} {% end %}
# Declare the base namespace for invidious # Declare the base namespace for invidious