red-data-tools / YouPlot

A command line tool that draw plots on the terminal.
MIT License
4.04k stars 60 forks source link

Not able to install it #36

Closed aborruso closed 1 year ago

aborruso commented 1 year ago

Hi, when I run gem install youplot, I get

ERROR:  Error installing youplot:
        ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.7.0/gems/enumerable-statistics-2.0.7/ext/enumerable/statistics/extension
/usr/bin/ruby2.7 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230210-37033-1c7xhuv.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.

extconf failed, exit code 1

How to solve it?

Thank you

aborruso commented 1 year ago

Solved with sudo apt install ruby-full