Package: cucumber
Version: 1.0.2-2
Severity: normal
Tags: patch

Dear Maintainer,

The default path to the cucumber binary and library directory in 
/usr/lib/ruby/vendor_ruby/cucumber/platform.rb is incorrect.  These
paths assume that all files are installed together under a single
directory (as they are when installed using gem) rather than how they
are arranged in the package.

Please consider updating the defaults as appropriate.  See the attached
patch for my interpretation of how they could be set.

Thanks,
Kevin


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.4.4-kevinoid1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cucumber depends on:
ii  ruby                          4.9
ii  ruby-builder                  3.0.0-3
ii  ruby-diff-lcs                 1.1.3-1
ii  ruby-gherkin                  2.4.6-1
ii  ruby-json                     1.7.3-2
ii  ruby-term-ansicolor           1.0.7-1
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-1

cucumber recommends no packages.

Versions of packages cucumber suggests:
ii  rake           0.9.2.2-4
pn  ruby-nokogiri  <none>
pn  ruby-prawn     <none>

-- no debconf information
--- a/lib/cucumber/platform.rb
+++ b/lib/cucumber/platform.rb
@@ -5,8 +5,8 @@
 module Cucumber
 unless defined?(Cucumber::VERSION)
   VERSION       = '1.2.1'
-  BINARY        = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
-  LIBDIR        = File.expand_path(File.dirname(__FILE__) + '/../../lib')
+  BINARY        = '/usr/bin/cucumber'
+  LIBDIR        = File.expand_path(File.dirname(__FILE__) + '/..')
   JRUBY         = defined?(JRUBY_VERSION)
   IRONRUBY      = defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby"
   WINDOWS       = RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to