Saltstack Official Syslog-NG 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.

33 lines
871B

  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', __dir__)
  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(
  18. 'Your `bin/bundle` was not generated by Bundler, '\
  19. 'so this binstub cannot run. Replace `bin/bundle` by running '\
  20. '`bundle binstubs bundler --force`, then run this command again.'
  21. )
  22. end
  23. end
  24. require 'rubygems'
  25. require 'bundler/setup'
  26. load Gem.bin_path('test-kitchen', 'kitchen')