LoginSignup
0
0

More than 5 years have passed since last update.

RVMでインストールしたRubyを使う

Posted at

RVMでローカルにインストールされているRubyのバージョン一覧を見るコマンド。
$ rvm list

使用するRubyのバージョンを変更するにはuseコマンドを使う。
$ rvm use 1.8.7

ターミナルを別タブで開いたりMacを再起動すると、Rubyのバージョンが元に戻ってしまうので、--defaultオプションで常に使用するバージョンを指定する。
$ rvm use 1.8.7 --default

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0