rbenv alias
2.0.0-p353とか2.0.0-p451とかはインストール済みだけど、rubyのバージョン指定自体は2.0.0としてるときに下記の用なエラーがでる
$ bundle config
rbenv: version `2.0.0' is not installed
なので、rbenv-aliasesを使って2.0.0-p451を2.0.0だと認識させる
$ brew install rbenv-aliases
$ rbenv alias --auto
1.9.3 => 1.9.3-p484
2.0.0 => 2.0.0-p451
$ rbenv versions
system
1.9.3
1.9.3-p392
1.9.3-p484
* 2.0.0 (set by /Users/yanap/repos/rspec_rails_4/.ruby-version)
2.0.0-p353
2.0.0-p451
$ bundle config
Settings are listed in order of priority. The top value will be used.
path
Set for your local app (/Users/yanap/repos/rspec_rails_4/.bundle/config): "vendor/bundle"
disable_shared_gems
Set for your local app (/Users/yanap/repos/rspec_rails_4/.bundle/config): "1"
これで大丈夫!
github