brakeman 754 B

123456789101112131415161718192021222324252627
  1. #!/usr/bin/env ruby
  2. # frozen_string_literal: true
  3. #
  4. # This file was generated by Bundler.
  5. #
  6. # The application 'brakeman' is installed as part of a gem, and
  7. # this file is here to facilitate running it.
  8. #
  9. ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
  10. bundle_binstub = File.expand_path("bundle", __dir__)
  11. if File.file?(bundle_binstub)
  12. if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
  13. load(bundle_binstub)
  14. else
  15. abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
  16. Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
  17. end
  18. end
  19. require "rubygems"
  20. require "bundler/setup"
  21. load Gem.bin_path("brakeman", "brakeman")