2.3.2 安裝 Ruby及 Rubygems

使用 RVM 安裝 Ruby 相關套件

rvm install 2.3.3

調整 console

  1. Open console

  2. Select Edit -> Profile Preferences

  3. Select tab: Title and Command

  4. Check box 'Run command as a login shell'

  5. Restart terminal

設定 Ruby 預設版本

rvm use 2.3.3 --default

檢查 ruby 和 gem 版本

ruby -v
gem -v

更新 Rubygems 到 Ruby 2.3.3 所使用版本

rvm rubygems current

檢查 gem 版本

gem -v

results matching ""

    No results matching ""