Saltstack Official Users Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
801B

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