2017-04-17 12:58:34 -04:00
|
|
|
#!/usr/bin/env ruby
|
2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-04-17 12:58:34 -04:00
|
|
|
#
|
|
|
|
# This file was generated by Bundler.
|
|
|
|
#
|
|
|
|
# The application 'rspec' is installed as part of a gem, and
|
|
|
|
# this file is here to facilitate running it.
|
|
|
|
#
|
|
|
|
|
|
|
|
require 'pathname'
|
|
|
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
|
|
|
|
Pathname.new(__FILE__).realpath)
|
|
|
|
|
|
|
|
require 'rubygems'
|
|
|
|
require 'bundler/setup'
|
|
|
|
|
2024-12-23 06:56:10 -05:00
|
|
|
if ENV["LOAD_PLUGINS"].nil? && ARGV.any? { |pattern| pattern.include?("plugins/") }
|
|
|
|
STDERR.puts "Detected plugin spec path, setting LOAD_PLUGINS to 1"
|
|
|
|
ENV["LOAD_PLUGINS"] = "1"
|
|
|
|
end
|
|
|
|
|
2017-04-17 12:58:34 -04:00
|
|
|
load Gem.bin_path('rspec-core', 'rspec')
|