diff --git a/config/initializers/yjit.rb b/config/initializers/yjit.rb new file mode 100644 index 00000000..8a8b5f56 --- /dev/null +++ b/config/initializers/yjit.rb @@ -0,0 +1,7 @@ +Rails.application.configure do + # YJIT slows down the test suite and doesn't really help in development + # It will be disabled by default in Rails 8.1 + # https://github.com/rails/rails/pull/53746 + + config.yjit = !Rails.env.local? +end