Use register instead.
32 33 34
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/tilt-2.0.11/lib/tilt.rb', line 32 def self.prefer(template_class, *extensions) register(template_class, *extensions) end