Installation problem in rcov

Hi,

I am trying to install the code coverage for Ruby(rcov)… but it is
giving the following error message in commmand prompt.

Used Ruby Version
Ruby - 1.8.5
Rails - 1.2.2

C:\ruby\rcov-0.8.0.2>ruby setup.rb
—> bin
<— bin
—> lib
—> lib/rcov
<— lib/rcov
<— lib
—> ext
—> ext/rcovrt
c:/ruby/bin/ruby.exe C:/ruby/rcov-0.8.0.2/ext/rcovrt/extconf.rb
creating Makefile
<— ext/rcovrt
<— ext
—> bin
<— bin
—> lib
—> lib/rcov
<— lib/rcov
<— lib
—> ext
—> ext/rcovrt
nmake
setup.rb:655:in command': system("nmake") failed (RuntimeError) from setup.rb:664:inmake’
from setup.rb:1258:in setup_dir_ext' from setup.rb:1532:insend
from setup.rb:1532:in traverse' from setup.rb:1549:indive_into’
from setup.rb:1530:in traverse' from setup.rb:1534:intraverse’
from setup.rb:1533:in each' ... 7 levels... from setup.rb:996:inexec_setup’
from setup.rb:813:in invoke' from setup.rb:773:ininvoke’
from setup.rb:1578

Please do help me with any info on the above issue…

Thanks in advance…

Regards
Raghu M

code coverage for Ruby(rcov) wrote:

Hi,

I am trying to install the code coverage for Ruby(rcov)… but it is
giving the following error message in commmand prompt.

Used Ruby Version
Ruby - 1.8.5
Rails - 1.2.2

use the gem

gem install rcov

in the options select a win32 version

—> ext
—> ext/rcovrt
nmake
setup.rb:655:in `command’: system(“nmake”) failed (RuntimeError)

The error you are seeing is because you seem to not have nmake in your
path (or you do not have build tools installed), so calling nmake after
creating the Makefile fails.

Stefan