Vladislav Merkulov
Vladislav Merkulov
I have a similar issue during building stage. Downgrading to 5.15.2 helped. ``` bin/rails aborted! TZInfo::InvalidTimezoneIdentifier: Invalid identifier: nil (TZInfo::InvalidTimezoneIdentifier) /app/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_source.rb:316:in `validate_timezone_identifier' /app/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/zoneinfo_data_source.rb:307:in `load_timezone_info' /app/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_source.rb:195:in `get_timezone_info' /app/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/timezone.rb:128:in `get' /app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.2/lib/active_support/values/time_zone.rb:208:in `find_tzinfo'...
Hi, I've added https://github.com/varvet/pundit/pull/794
I hope that by adding the condition `require "pundit/railtie" if defined?(Rails)`, it is ensured that the gem can be used in both Rails and non-Rails Ruby environments. This makes the...