rakeコマンドを実行しようとすると突然bundler: command not found: rake
が出るようになって困りました(たぶん何かしら触ったからですが)。
そのままググっても特に解決方法が出てこなかったので残しておきます。
現象
$ bundle exec rake hogehoge
bundler: command not found: rake
Install missing gem executables with `bundle install`
解決方法
$ bundle exec gem pristine rake
Restoring gems to pristine condition...
Restored rake-11.1.2