-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fail to install on ruby-head 2.0 #84
Comments
I'm also experiencing this issue. Due to the "1.8" looks like there's an inadequate version check:
|
The check in the extconf.rb is wrong: https://github.com/relevance/rcov/blob/master/ext/rcovrt/extconf.rb#L8 Should be Same for https://github.com/relevance/rcov/blob/master/ext/rcovrt/extconf.rb#L15 |
1.9+ support has been completely removed. If you are on 1.9 or higher, you should be using simplecov |
facing same issue
creating Makefile make |
If you run into this problem make sure to install the simplecov-rcov gem which provides the needed env.h for the latter ruby versions. |
@rennhak Installing simplecov-rcov didn't fix the env.h problem for me on OS X 10.9 |
You need to switch to simplecov completely. RCov won't work properly in 2.0 or 1.9 |
$ruby -v
ruby 2.0.0dev (2011-10-26 trunk 33526) [i686-linux](OS: Ubuntu 11.10)
$ gem install rcov
Fetching: rcov-0.9.11.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing rcov:
ERROR: Failed to build gem native extension.
creating Makefile
make
compiling 1.8/rcovrt.c
1.8/rcovrt.c:2:17: fatal error: env.h: No such file or directory
compilation terminated.
make: *** [rcovrt.o] Error 1
The text was updated successfully, but these errors were encountered: