事前準備

安裝

更新

Ruby 相關

使用 Ruby (default 為 system)

rubies 為已安裝 Ruby 或 system,後面可加 @<gemsets>

rvm gemsets 與 bundler 關係

http://stackoverflow.com/questions/4361645/relationships-between-rubygems-bundler-and-rvm

Note: 執行 bundler 內可執行檔時需前綴 bundle exec,但 rvm>=1.11.0 預設安裝 rubygems-bundler 已解決此問題。1

rvmrc(所有版本適用,但只紀錄與 rbenv 相容的用法)

參考資料

RVM官方網站

TODO: rvm isn’t func

https://rvm.io/support/faq#what-shell-login-means-bash-l https://ruby-china.org/topics/3705 https://rvm.io/workflow/scripting

TODO: chruby, rbenv, rvm

http://kgrz.io/2014/02/13/Programmers-guide-to-choosing-ruby-version-manager.html

TODO:completion

[[ -r $rvm_path/scripts/completion ]] && . $rvm_path/scripts/completion