Skip to content

Commit

Permalink
Change rails default config to 7.2 (#4696)
Browse files Browse the repository at this point in the history
This enables the Ruby YJIT, confirmed on staging with:

1. `cd /opt/orangelight/current`
2. `bundle exec rails c`
3. `RubyVM::YJIT.enabled?`

Prior to this commit, this returned false, with this
commit, it returns true.
  • Loading branch information
sandbergja authored Jan 11, 2025
1 parent 033d066 commit c664c38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 282 deletions.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

module Orangelight
class Application < Rails::Application
config.load_defaults 7.1
config.load_defaults 7.2
# Before filter for Flipflop dashboard. Replace with a lambda or method name
# defined in ApplicationController to implement access control.
config.flipflop.dashboard_access_filter = :verify_admin!
Expand Down
281 changes: 0 additions & 281 deletions config/initializers/new_framework_defaults_7_1.rb

This file was deleted.

0 comments on commit c664c38

Please sign in to comment.