summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-06-15 07:15:28 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-06-15 07:15:28 +0300
commit5bbf3ccf0559ac4d8528f48721a2816fa0c72985 (patch)
tree904be11f0f74f5e6c5852940c0d6ce20838df6ff /script
parent6ff99fe9457fcfe831fbe3d3a1ef477d9a327330 (diff)
downloadgitlab-ce-5bbf3ccf0559ac4d8528f48721a2816fa0c72985.tar.gz
Cucumber:
* Profile * Browse code * Sceleton for main features * Wiki * Commits
Diffstat (limited to 'script')
-rwxr-xr-xscript/cucumber10
1 files changed, 10 insertions, 0 deletions
diff --git a/script/cucumber b/script/cucumber
new file mode 100755
index 00000000000..7fa5c920867
--- /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