scinote-web/script/cucumber

12 lines
335 B
Text
Raw Permalink Normal View History

2017-07-06 15:07:05 +08:00
#!/usr/bin/env ruby
2019-09-16 16:26:13 +08:00
# frozen_string_literal: true
2017-07-06 15:07:05 +08:00
vendored_cucumber_bin = Dir["#{File.dirname(__FILE__)}/../vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
if vendored_cucumber_bin
load File.expand_path(vendored_cucumber_bin)
else
require 'rubygems' unless ENV['NO_RUBYGEMS']
require 'cucumber'
load Cucumber::BINARY
end