安装vim http://http://www.linlin.fun/blogs/410 https://github.com/sg552/happy_book_vim

git clone  https://github.com/sg552/happy_book_vim.git

1.安装vundle :

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

2.clone本项目:

cp dot_vimrc_for_vim8 ~/.vimrc

3.进入到vim中,然后

:PluginInstall

创建新目录

sudo mkdir /opt/app -p

进入新的目录

cd /opt/app

修改权限

sudo chown ubuntu:ubuntu . -R  

克隆项目,安装asdf:

git clone ...<br />
cd ~

1.安装asdf

git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.2

然后增加 ~/.bashrc:

&nbsp;source ./bashrc
. $HOME/.asdf/asdf.sh

asdf(查看是否显示所有命令)

2.安装bundle

sudo apt update
sudo apt install bundler

安装ruby

asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
asdf install ruby latest
ruby -v
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]<br />
ubuntu@ip-172-31-46-188:~$ which ruby<br />
/usr/bin/ruby