diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-06-15 07:15:28 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-06-15 07:15:28 +0300 |
commit | 5bbf3ccf0559ac4d8528f48721a2816fa0c72985 (patch) | |
tree | 904be11f0f74f5e6c5852940c0d6ce20838df6ff /script | |
parent | 6ff99fe9457fcfe831fbe3d3a1ef477d9a327330 (diff) | |
download | gitlab-ce-5bbf3ccf0559ac4d8528f48721a2816fa0c72985.tar.gz |
Cucumber:
* Profile
* Browse code
* Sceleton for main features
* Wiki
* Commits
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 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 |