cannot load such file -- bundler

55 views
Skip to first unread message

Koji Tanaka

unread,
Dec 26, 2016, 7:10:48 PM12/26/16
to Vagrant
Hello,

Vagrant commands fail with the following error, and I wonder if anyone here knows how to fix it. The problem probably started after some Mac OS X update, but I'm not 100% sure. I've tried deleting-and-reinstalling Vagrant, but the problem still persists.
Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is
shown below.

cannot load such file -- bundler

Here're my system and Vagrant versions.
Vagrant Version: 1.9.1
System Version: macOS 10.12.2 (16C67)


Has anyone had the same issue recently? I would appreciate any comments.

Thanks a lot,
Koji

Koji Tanaka

unread,
Dec 26, 2016, 10:04:37 PM12/26/16
to Vagrant
Hello,

It looked like something in my ~/.vagrant.d wasn't right. And I could fix the problem by removing ~/.vagrant.d and reinstalling Vagrant like this:
mv ~/.vagrant.d ~/.vagrant.d.bk
brew cask reinstall vagrant

I'm not sure if reinstalling Vagrant was needed, but after executing these two commands, the problem's got resolved.

Bests,
Koji
Reply all
Reply to author
Forward
0 new messages