1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: fix paths in cucumber/platform.rb
Author: Kevin Locke <kevin@kevinlocke.name>
Reviewed-by: Cédric Boutillier <boutil@debian.org>
Last-Update: 2015-06-19
--- a/lib/cucumber/platform.rb
+++ b/lib/cucumber/platform.rb
@@ -5,8 +5,8 @@ require 'cucumber/core/platform'
module Cucumber
VERSION = File.read(File.expand_path('../../VERSION', __dir__)).strip
- 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__) + '/..')
RUBY_BINARY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
class << self
|