Skip to content

Commit 4828a7f

Browse files
committed
add yjit warning
1 parent 365acce commit 4828a7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/application.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ class Application < Rails::Application
3434
protocol: "https"
3535
}
3636

37+
if Rails.version >= "7.2"
38+
raise "this is not needed anymore, yjit should be enabled by default in rails 7.2."
39+
end
3740
config.after_initialize do
3841
RubyVM::YJIT.enable
3942
end

0 commit comments

Comments
 (0)