Skip to content
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

Cannot install on Ubuntu 16.04.2 LTS #97

Open
cloudhuang opened this issue Jun 1, 2017 · 2 comments
Open

Cannot install on Ubuntu 16.04.2 LTS #97

cloudhuang opened this issue Jun 1, 2017 · 2 comments

Comments

@cloudhuang
Copy link

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
Copy link

Same issue as yours

@ibooj
Copy link

ibooj commented Aug 29, 2018

$ sudo apt-get install ruby2.3-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants