Install ruby pkg by gem install, not by apt-get install.
Signed-off-by: Liu Yinsi liuyinsi@163.com --- sbin/install-dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sbin/install-dependencies.sh b/sbin/install-dependencies.sh index aa069bfcd..f2a9155f6 100755 --- a/sbin/install-dependencies.sh +++ b/sbin/install-dependencies.sh @@ -12,8 +12,8 @@ linux_dep() case $ID in ubuntu|debian) export DEBIAN_FRONTEND=noninteractive - sudo apt-get install -yqm ruby-git ruby-activesupport ruby-rest-client ruby-dev libssl-dev gcc g++ - sudo gem install -f faye-websocket + sudo apt-get install -yqm ruby-dev libssl-dev gcc g++ + sudo gem install -f faye-websocket git activesupport rest-client ;; openEuler|fedora|rhel|centos) if type dnf > /dev/null 2>&1; then