diff options
author | Azul <azul@leap.se> | 2014-07-08 11:00:40 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-07-14 10:49:39 +0200 |
commit | 303ec07901af3798efc873cbe050aa5cb4ba7655 (patch) | |
tree | 4c9a2d33d2bf1b24233d115e74368a533acf7666 /script | |
parent | 4dbfdf30c3235eb19e4f0ad959f65125ed18b39a (diff) |
use cucumber; initial ConfigsController
Diffstat (limited to 'script')
-rwxr-xr-x | script/cucumber | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/script/cucumber b/script/cucumber new file mode 100755 index 0000000..7fa5c92 --- /dev/null +++ b/script/cucumber @@ -0,0 +1,10 @@ +#!/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 |