Updated install error message for rcov.

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@103 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
This commit is contained in:
Bob Aman 2010-10-22 23:11:59 +00:00
parent 38f5bc5baf
commit 9af308a5f8
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@ namespace :spec do
t.spec_opts = ['--require', 'rubygems', '--color', '--format', 'specdoc']
if RCOV_ENABLED
if `which rcov`.strip == ""
STDERR.puts "Please install rcov:"
STDERR.puts(
"sudo gem install relevance-rcov --source http://gems.github.com/"
"Please install rcov and ensure that its binary is in the PATH:"
)
STDERR.puts("sudo gem install rcov")
exit(1)
end
t.rcov = true