Ubuntu 16.04 can’t find header files for ruby at /usr/lib/ruby/include/ruby.h

August 6, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Ubuntu 16.04 can’t find header files for ruby

This Tip Shows you How to Solve Ubuntu 16.04 can’t find header files for ruby at /usr/lib/ruby/include/ruby.h Issue.

And this Issue in Installing Ruby Gems is due to Missing Development Files on Ubuntu System.

Ubuntu 16.04 can't find header files for ruby at /usr/lib/ruby/include/ruby.h - Featured
sudo apt install ruby-dev

Or if you have Enabled the Ruby PPA:

sudo apt install ruby2.[x]-dev

Tags: ,