Skip to content

Commit

Permalink
Update rake Gem
Browse files Browse the repository at this point in the history
Specifically to pick up ruby/rake#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.
  • Loading branch information
Hamms committed Mar 22, 2023
1 parent 61d566f commit efe7e9e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Gemfile.lock
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit efe7e9e

Please sign in to comment.