Skip to content

Cannot install on Ubuntu 16.04.2 LTS #97

@cloudhuang

Description

@cloudhuang

When I try to install redmon on my Ubuntu 16.04.2 LTS system, it encountered the following error:

Building native extensions.  This could take a while...
ERROR:  Error installing redmon:
        ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/hiredis-0.6.1/ext/hiredis_ext
/usr/bin/ruby2.3 -r ./siteconf20170601-72074-i57dbk.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.3.0/gems/hiredis-0.6.1 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/hiredis-0.6.1/gem_make.out

Ruby Env:
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions