~ubuntu-branches/ubuntu/wily/cucumber/wily-proposed

« back to all changes in this revision

Viewing changes to .pc/0005-clean_bin_cucumber.patch/bin/cucumber

  • Committer: Package Import Robot
  • Author(s): Cédric Boutillier
  • Date: 2015-06-22 14:15:05 UTC
  • Revision ID: package-import@ubuntu.com-20150622141505-63nny0woexahq9nx
Tags: 2.0.0-2
Add 0005-clean_bin_cucumber.patch to prevent cucumber utility to try to
load non-existing files. (Closes: #789585)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env ruby
 
2
$:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib')
 
3
 
 
4
load File.expand_path(File.dirname(__FILE__) + '/../spec/simplecov_setup.rb')
 
5
 
 
6
require 'cucumber/rspec/disable_option_parser'
 
7
require 'cucumber/cli/main'
 
8
# The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
 
9
Cucumber::Cli::Main.new(ARGV.dup).execute!