Skip to content

Can't Install #103

@peaceknight05

Description

@peaceknight05

I'm running Mac OSX High Sierra 10.13.4 (17E199). I am using RVM and ruby 2.4.1
When I type in gem install rcov it gives me an error. Inside .rvm/gems/ruby-2.4.1/extensions/x86_64-darwin-17/2.4.0/rcov-1.0.0/gem_make.out it gives me an error report saying,

current directory: /Users/jonathantan/.rvm/gems/ruby-2.4.1/gems/rcov-1.0.0/ext/rcovrt
/Users/jonathantan/.rvm/rubies/ruby-2.4.1/bin/ruby -r ./siteconf20180501-9065-4si7ik.rb extconf.rb
creating Makefile

current directory: /Users/jonathantan/.rvm/gems/ruby-2.4.1/gems/rcov-1.0.0/ext/rcovrt
make "DESTDIR=" clean

current directory: /Users/jonathantan/.rvm/gems/ruby-2.4.1/gems/rcov-1.0.0/ext/rcovrt
make "DESTDIR="
compiling 1.8/callsite.c
1.8/callsite.c:2:10: fatal error: 'env.h' file not found
#include <env.h>
^~~~~~~
1 error generated.
make: *** [callsite.o] Error 1

make failed, exit code 2

Am I using the wrong version of Ruby or is it something else? Any help appreciated. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions