From efe7e9e7bce5bd36ec0678e35cf07fe5971cd2f5 Mon Sep 17 00:00:00 2001 From: Elijah Hamovitz Date: Wed, 22 Mar 2023 13:43:52 -0700 Subject: [PATCH] Update `rake` Gem Specifically to pick up https://github.com/ruby/rake/pull/211, which is required for Rails 6.1 support; without it, we get `undefined method ``with_application' for Rake:Module (NoMethodError)` when trying to run any rails script. Specifically, I implemented this by running `bundle update rake scss_lint`, to also pick up the `scss_lint` change "Relax gem dependency constraints to allow rake 12.x" - https://github.com/sds/scss-lint/blob/master/CHANGELOG.md#0510 - https://github.com/ruby/rake/releases/tag/v12.2.0 Tested locally that this resolves for me the problems with running rake tasks on Rails 6.1 Relying on existing tests to verify that this does not otherwise result in any change to functionality. --- Gemfile.lock | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 89a8d392e1ebd..14bbc8fe0b29c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -697,7 +697,7 @@ GEM thor (>= 0.20.3, < 2.0) rainbow (3.0.0) raindrops (0.20.0) - rake (11.3.0) + rake (13.0.6) rambling-trie (2.2.1) rb-fsevent (0.11.2) rb-inotify (0.10.1) @@ -769,7 +769,11 @@ GEM ruby_parser (3.18.1) sexp_processor (~> 4.16) rubyzip (1.2.2) - sass (3.4.22) + sass (3.7.4) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) sass-rails (6.0.0) sassc-rails (~> 2.1, >= 2.1.1) sassc (2.4.0) @@ -783,9 +787,8 @@ GEM scenic-mysql_adapter (1.0.1) mysql2 scenic (>= 1.4.0) - scss_lint (0.49.0) - rake (>= 0.9, < 12) - sass (~> 3.4.20) + scss_lint (0.60.0) + sass (~> 3.5, >= 3.5.5) selenium-webdriver (3.141.0) childprocess (~> 0.5) rubyzip (~> 1.2, >= 1.2.2)