Last active
February 7, 2026 15:21
-
-
Save presidentbeef/0cba3fae686c8edc20c626a6cf1d21d9 to your computer and use it in GitHub Desktop.
Brakeman binstub example to always run the latest
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
| #!/usr/bin/env ruby | |
| # This binstub ensures that you are running the latest version of Brakeman. | |
| require "bundler/inline" | |
| gemfile do | |
| source "https://rubygems.org" | |
| gem "brakeman", Gem.latest_version_for("brakeman") | |
| end | |
| load Gem.bin_path("brakeman", "brakeman") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment