Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details.
[...]
To see why this extension failed to compile, please check the mkmf.log which can be found here:
[...]
/usr/lib64/gems/ruby/nio4r-2.5.7/mkmf.log
[...]
sh: make: command not found
WARNING: This article can be outdated.
require 'capistrano/rbenv'
> which ruby /home/deployer/.rvm/rubies/ruby-2.2.10/bin/ruby
checking for sqlite3.h... no
sqlite3.h is missing. Try 'brew install sqlite3',
'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
and check your shared library search path (the
location where your sqlite3 shared library is located).
libxml2 version 2.6.21 or later is required!