Skip to content

Commit

Permalink
Upgrade rack to fix "assigned but unused variable"
Browse files Browse the repository at this point in the history
Previously, using Rack::Sendfile would result in the following warning:

```
/usr/local/bundle/gems/rack-3.0.7/lib/rack/sendfile.rb:114: warning: assigned but unused variable - status
```

and this would print more than 150 times when running
test/application/configuration_test.rb in Railties. This commit fixes
the warnings by updating rack to 3.0.8 where the warning was fixed.
  • Loading branch information
skipkayhil committed Jun 14, 2023
1 parent 0fbe3b9 commit f3027d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile.lock
Expand Up @@ -371,7 +371,7 @@ GEM
pg (>= 1.1, < 2.0)
raabro (1.4.0)
racc (1.6.2)
rack (3.0.7)
rack (3.0.8)
rack-cache (1.13.0)
rack (>= 0.4)
rack-session (2.0.0)
Expand Down

0 comments on commit f3027d7

Please sign in to comment.