I was getting the following error while installing puma gem
$ gem install puma Fetching: puma-2.11.2.gem (100%) Building native extensions. This coul
libssl1.0-dev installing helped to me. Try
apt-get install libssl1.0-dev
and then
gem install puma