Latest version fails to install on my machine
aaaronic opened this issue · 2 comments
aaaronic commented
I'm running into the following error when trying to install the plugin on my OSX Sierra setup with the latest vagrant (2.2.6):
$ vagrant plugin install vagrant-google
Installing the 'vagrant-google' plugin. This can take a few minutes...
Vagrant failed to properly resolve required dependencies. These
errors can commonly be caused by misconfigured plugin installations
or transient network issues. The reported error is:
activesupport requires Ruby version >= 2.5.0.
The OS version of ruby is 2.3.7:
$ /usr/bin/ruby --version
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin16]
So I tried installing RVM and ruby 2.6.3 to get past the issue, but it hasn't helped anything:
$ ruby --version
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin16]
I have no clue how to control which ruby binary vagrant is using, and Google hasn't proven all that helpful in helping set that.
aaaronic commented
This seems relevant:
$ /opt/vagrant/embedded/bin/ruby --version
ruby 2.4.9p362 (2019-10-02 revision 67824) [x86_64-darwin13]
Is there any way to upgrade the embedded Ruby used by Vagrant (or to force it to use a different Ruby entirely?)
aaaronic commented
Workaround found:
vagrant plugin install vagrant-google --plugin-version "2.4.0"