ruby 安装

最后发布时间:2023-09-16 19:43:40 浏览量:

https://meta.discourse.org/t/install-discourse-on-ubuntu-or-debian-for-development/14727

  sudo  apt-get -y install libxslt1-dev libcurl4-openssl-dev libksba8 libksba-dev libreadline-dev libssl-dev zlib1g-dev libsnappy-dev libyaml-dev
  
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
printf 'export PATH="$HOME/.rbenv/bin:$PATH"\n' >> ~/.bashrc
printf 'eval "$(rbenv init - --no-rehash)"\n' >> ~/.bashrc

export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"

git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build

 rbenv install 3.2.1
快捷入口
ruby 思维导图 浏览PDF 下载PDF
分享到:
标签