2 # frozen_string_literal: true
5 # This file was generated by Bundler.
7 # The application 'kitchen' is installed as part of a gem, and
8 # this file is here to facilitate running it.
12 ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
13 Pathname.new(__FILE__).realpath)
15 bundle_binstub = File.expand_path('bundle', __dir__)
17 if File.file?(bundle_binstub)
18 if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
22 'Your `bin/bundle` was not generated by Bundler, '\
23 'so this binstub cannot run. Replace `bin/bundle` by running '\
24 '`bundle binstubs bundler --force`, then run this command again.'
30 require 'bundler/setup'
32 load Gem.bin_path('test-kitchen', 'kitchen')