Skip to content

Commit

Permalink
For gitnesse run, run Cucumber through Bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
stewart committed Oct 9, 2013
1 parent 7ba08ef commit 7752730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/gitnesse/cli/task/run.rb
Expand Up @@ -69,9 +69,9 @@ def run_features
puts " Running cucumber."
puts ' -------------------', ''
if defined?(Bundler)
Bundler.with_clean_env { system "cucumber #{@config.features_dir}" }
Bundler.with_clean_env { system "bundle exec cucumber #{@config.features_dir}" }
else
system "cucumber #{@config.features_dir}"
system "bundle exec cucumber #{@config.features_dir}"
end
puts ' -------------------', ''
end
Expand Down

0 comments on commit 7752730

Please sign in to comment.