Installing RVM to /home/andrew-liu/.rvm/ Adding rvm PATH line to /home/andrew-liu/.profile /home/andrew-liu/.bashrc /home/andrew-liu/.zshrc. Adding rvm loading line to /home/andrew-liu/.bash_profile /home/andrew-liu/.zlogin. Fixing environment for *. Unknown ruby interpreter version (do not know how to handle): *. Installation of RVM in /home/andrew-liu/.rvm/ is almost complete:
* To start using RVM you need to run `source /home/andrew-liu/.rvm/scripts/rvm` in all your open shell windows, in rare cases you need to reopen all shell windows.
# andrew-liu, # # Thank you for using RVM! # We sincerely hope that RVM helps to make your life easier and more enjoyable!!! # # ~Wayne, Michal & team.
In case of problems: http://rvm.io/help and https://twitter.com/rvm_io /home/andrew-liu/.zshrc:54:export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
* WARNING: Above files contains `PATH=` with no `$PATH` inside, this can break RVM, for details check https://github.com/wayneeseguin/rvm/issues/1351#issuecomment-10939525 to avoid this warning append #PATH.
#Step 2: Set RVM environment 配置环境变量 运行以后命令
1 2 3
//其中username要更改为当前用户使用的主目录 //可以通过 cd ~进入当前用户工作目录 source /home/username/.rvm/scripts/rvm
#Step 3: Install latest available ruby version 首先安装ruby的环境依赖项