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.
10 lines
305 B
10 lines
305 B
#!/usr/bin/env ruby
|
|
|
|
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
|
|
|