Skip to content

Commit 90a45ef

Browse files
authored
Merge pull request rspec#178 from rspec/warn-when-no-ag
warn if no ag installed
2 parents 57bb829 + eef0358 commit 90a45ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ end
6060

6161
desc "Updates the rspec.github.io docs"
6262
task :update_docs, [:version, :branch, :website_path] do |t, args|
63+
abort "You must have ag installed to generate docs" if `which ag` == ""
6364
args.with_defaults(:website_path => "../rspec.github.io")
6465
run_command "git checkout #{args[:branch]} && git pull --rebase"
6566
each_project :except => UnDocumentedProjects do |project|

0 commit comments

Comments
 (0)