系统:CentOS 7.6 1234567891011121314# 1. 安装ruby-installwget https://github.com/postmodern/ruby-install/archive/v0.7.0.tar.gztar -xf v0.7.0.tar.gzcd ruby-install-0.7.0/make install# 安装rubyruby-install ruby# 安装redis-dumpgem install redis-dump# ln -s /opt/rubies/ruby-2.6.3/bin/* /usr/bin/export PATH=/opt/rubies/ruby-2.6.3/bin:$PATH