我正在尝试按照Jekyll on Windows 教程安装 Jekyll 。从BrightBox存储库安装 ruby 有一个陡峭的过程。我触发了以下命令:
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.4 ruby2.4-dev build-essential dh-autoreconf
最后一个命令产生以下错误:
sudo apt-get install ruby2.4 ruby2.4-dev build-essential dh-autoreconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ruby2.4
E: Couldn't find any package by glob 'ruby2.4'
E: Couldn't find any package by regex 'ruby2.4'
E: Unable to locate package ruby2.4-dev
E: Couldn't find any package by glob 'ruby2.4-dev'
E: Couldn't find any package by regex 'ruby2.4-dev'
我该如何解决这个问题?