steelThread / redmon

A web interface for managing redis: cli, admin, and live monitoring
http://steelthread.github.com/redmon/
1.57k stars 128 forks source link

Cannot install on Ubuntu 16.04.2 LTS #97

Open cloudhuang opened 7 years ago

cloudhuang commented 7 years ago

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]

AChaoZJU commented 6 years ago

Same issue as yours

ibooj commented 6 years ago

$ sudo apt-get install ruby2.3-dev