Forum: Ruby on Rails Installation problem in rcov

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
code coverage for Ruby(rcov) (Guest)
on 2007-04-24 11:30
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:in `make'
        from setup.rb:1258:in `setup_dir_ext'
        from setup.rb:1532:in `__send__'
        from setup.rb:1532:in `traverse'
        from setup.rb:1549:in `dive_into'
        from setup.rb:1530:in `traverse'
        from setup.rb:1534:in `traverse'
        from setup.rb:1533:in `each'
         ... 7 levels...
        from setup.rb:996:in `exec_setup'
        from setup.rb:813:in `invoke'
        from setup.rb:773:in `invoke'
        from setup.rb:1578




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


Thanks in advance...

Regards
Raghu M
Stefan M. (Guest)
on 2007-04-25 04:43
(Received via mailing list)
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
This topic is locked and can not be replied to.