Skip to content

Commit

Permalink
Merge branch 'master' of github.com:aslakhellesoy/cucumber
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Sep 13, 2010
2 parents 74957d6 + 72b7101 commit edce8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cucumber/rake/task.rb
Original file line number Diff line number Diff line change
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 edce8f6

Please sign in to comment.