debian/deepin 安装ruby

Checking requirements for ubuntu. 出错

sudo apt-get update

sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties

sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev

curl -L [https://get.rvm.io](https://get.rvm.io/) | bash -s stable

source ~/.rvm/scripts/rvm

echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc

rvm install 2.4.1

rvm use 2.4.1 --default

ruby -v

你可能感兴趣的:(debian/deepin 安装ruby)