rbenv: ruby: command not found (´゚д゚`)エー!

◯ rbenvを使ってrubyインスコしたけどエラった

[vagrant@localhost ~]$ ruby -v
rbenv: ruby: command not found

The `ruby' command exists in these Ruby versions:
  2.1.1

rubyコマンド使ってるのに、rbenvが何故

◯ 結論

rbenvはrubyのバージョンを指定してあげないと怒られるみたい
指定の方法は global か local

global/local 設定の違い
global ~/.rbenv/version に使うバージョンが記載される。影響範囲は全プロジェクト
local カレントディレクトリに.ruby-versionが作成され、使うバージョンが記載される。影響範囲はカレントディレクトリのプロジェクトのみ
[vagrant@localhost ~]$ rbenv global 2.1.1
[vagrant@localhost ~]$ which ruby
~/.rbenv/shims/ruby
[vagrant@localhost ~]$ ruby -v
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]

うっすうっす