cannot load such file — bundler/setup (LoadError)

I had almost precisely the same error, and was able to completely fix it simply by running:

gem install bundler

It’s possible your bundler installation is corrupt or missing – that’s what happened in my case. Note that if the above fails you can try:

sudo gem install bundler

…but generally you can do it without sudo.

Leave a Comment