Installing vagrant plugins may require having an modern version of ruby installed on the host.
There are several ways to install ruby. One way is to use ruby-install, using chruby to manage your ruby installations:
-
Install ruby-install via homebrew:
brew install ruby-install
-
Install ruby 2.2 via ruby-install:
ruby-install ruby 2.2
-
Install chruby via homebrew:
brew install chruby
-
Configure your shell (and
~/.bash_profile
) to source chruby:source '/usr/local/share/chruby/chruby.sh' chruby 2.2