Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version fails to install on my machine #229

Open
aaaronic opened this issue Nov 25, 2019 · 2 comments
Open

Latest version fails to install on my machine #229

aaaronic opened this issue Nov 25, 2019 · 2 comments

Comments

@aaaronic
Copy link

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
Copy link
Author

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 aaaronic changed the title Fails to install on my machine Latest version fails to install on my machine Nov 25, 2019
@aaaronic
Copy link
Author

Workaround found:

vagrant plugin install vagrant-google --plugin-version "2.4.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant