Method: Cucumber::Rake::Task::ForkedCucumberRunner#cmd

Defined in:
lib/cucumber/rake/task.rb

#cmdObject

[View on GitHub]

80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/cucumber/rake/task.rb', line 80

def cmd
  if use_bundler
    [
      Cucumber::RUBY_BINARY, '-S', 'bundle', 'exec', 'cucumber',
      @cucumber_opts, @feature_files
    ].flatten
  else
    [
      Cucumber::RUBY_BINARY, '-I', load_path,
      quoted_binary(@cucumber_bin), @cucumber_opts, @feature_files
    ].flatten
  end
end