Вот последовательность моих действий
apt install beef
.Ruby: 2.7 or newer.
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
# h - данный хэш
h.each do |k, _|
puts h[k] if k.match?(/^D\d{1,2}$/) && k[/[0-9]+/].to_i.between?(0, 27)
end
sudo apt install ruby-sass
(это на Дебьяне; на Убунте, возможно, есть такой же или подобный пакет).