Skip to content

Commit

Permalink
Merge branch 'master' into clean_up_step_mother
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Sep 13, 2010
2 parents b7f38ca + edce8f6 commit a504edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cucumber/rake/task.rb
Expand Up @@ -65,7 +65,7 @@ def quoted_binary(cucumber_bin)
end

def runner
File.exist?("./Gemfile") ? ["bundle", "exec", RUBY] : [RUBY]
File.exist?("./Gemfile") && Gem.available?("bundler") ? ["bundle", "exec", RUBY] : [RUBY]
end

def run
Expand Down

0 comments on commit a504edc

Please sign in to comment.