Created
January 27, 2026 00:56
-
-
Save jasonkarns/17dffe9cb3da1648e19ab96c54b7d54f to your computer and use it in GitHub Desktop.
Minimal repro: standardrb exe differs from rake task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem "standard" | |
| gem "stripe" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "standard/rake" | |
| # gem deps auto-required by Bundle.require thru Rails' config/application | |
| require "stripe" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def repro | |
| rescue Stripe::CardError, Stripe::StripeError | |
| end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bundle exec standardrbruns clean (no errors detected)rake standardfails with:Same source code. Same version of standard. But the standard rake task finds violations that the executable does not.