diff --git a/Gemfile b/Gemfile index 7227d68d5bd..7a0be9b8435 100644 --- a/Gemfile +++ b/Gemfile @@ -176,5 +176,5 @@ gem "wdm", ">= 0.1.0", platforms: [:windows] # Also, Rails depends on a new API available since error_highlight 0.4.0. # (Note that Ruby 3.1 bundles error_highlight 0.3.0.) if RUBY_VERSION >= "3.1" - gem "error_highlight", ">= 0.4.0", platforms: [:ruby] + gem "error_highlight", ">= 0.4.0", "< 0.5.0", platforms: [:ruby] end diff --git a/Gemfile.lock b/Gemfile.lock index 8457bd9dcc9..d05f1383c61 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -581,7 +581,7 @@ DEPENDENCIES debug (>= 1.1.0) delayed_job delayed_job_active_record - error_highlight (>= 0.4.0) + error_highlight (>= 0.4.0, < 0.5.0) google-cloud-storage (~> 1.11) image_processing (~> 1.2) importmap-rails