Control: tag -1 pending

On Mon, Jun 22, 2015 at 12:46:12PM +0200, intrig...@debian.org wrote:
> after upgrading my sid system today, running cucumber with a sample
> .feature file as an argument fails:

> $ cucumber features/build.feature
> /usr/bin/cucumber:4:in `load': cannot load such file -- 
> /usr/spec/simplecov_setup.rb (LoadError)
>       from /usr/bin/cucumber:4:in `<main>'
> zsh: exit 1     cucumber features/build.feature

Oups. Sorry for that.
I'm uploading a new version, with a patch cleaning /usr/bin/cucumber to
remove attempts to load/require non existing files.

Cheers,

Cédric


Description: do not modify the load path or try to load non existing files
 we remove everything relying on the layout of the gem, not the installed
 packaged
Author: Cédric Boutillier <bou...@debian.org>
Bug-Debian: https://bugs.debian.org/789585
Last-Update: 2015-06-22

--- a/bin/cucumber
+++ b/bin/cucumber
@@ -1,7 +1,4 @@
 #!/usr/bin/env ruby
-$:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib')
-
-load File.expand_path(File.dirname(__FILE__) + '/../spec/simplecov_setup.rb')
 
 require 'cucumber/rspec/disable_option_parser'
 require 'cucumber/cli/main'

Attachment: signature.asc
Description: Digital signature

Reply via email to