なぜ、version2.3.1を選んで書いているのかというと、2.3.1がなかなか入らなかったからです。
rbenv uninstall 2.3.1
↓
rbenv install 2.3.1
↓
re gem install bundler
↓
rebi
(reb install --path=vendor/bundle --binstubs=vendor/bin)
↓
rm -rf vendor/
(-rfはコマンド のオプション)
↓
ここまでエラーなくうまく行けば下記のコマンド を実行
↓
rebem
rebe middleman
rubyのバージョン切り替えた後、ちゃんと毎回 rebiをする。
rebi
は(reb install --path=vendor/bundle --binstubs=vendor/bin)