Ubuntu 18.04 can’t find header files for ruby
This Tip shows you How to Solve Ubuntu 18.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.
sudo apt install ruby-dev
Or if you have Enabled the Ruby PPA:
sudo apt install ruby2.[x]-dev