-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unable to install on Windows #23
Comments
I was able to work around the issue by manually installing
|
I'm also having this problem on OSX and can confirm that the same fix works. |
Are you running Ruby < 2.2.5 when you get this error? (Looks like the default OSX ruby on El Capitan is 2.0.0) |
I'm using RVM and the output of ruby -v is 2.3.1. Maybe the plugin install is defaulting to the system Ruby - let me check to make sure the Ruby versions are correct. |
That was the problem - rvm was using 2.2.0. After installing 2.3.1 and setting it as the default all is good, thanks! |
👍 I'm going to close this, but lmk if the windows version is a different bug. |
I am unaware of an easy way to upgrade the bundled version of Ruby for Vagrant. Maybe |
@kichik the problem disappeared for me when I upgraded the version of Ruby my shell uses, not the bundled Vagrant one. Maybe that would help? I was using Ruby 2.2.0 installed with RVM. As soon as I installed 2.3.1 and set it as the default Ruby the problem went away. I'm on OSX though so not sure how this would work on Windows. |
@dcosson also getting this on OS X, using rbenv w/ ruby 2.2.4 vagrant 1.8.5 |
I'm seeing this on OSX too once I updated to vagrant 1.8.5. It looks like this PR is related hashicorp/vagrant#7684 so hopefully vagrant 1.8.6 will fix this issue. Until then a workaround is using an older vagrant or a newer ruby version, or installing vagrant unison from source by cloning this repo, running |
I have tried install the latest version on Windows 10 with Vagrant 1.8.5 and kept getting an error. Manually trying to install the gem shows the
ruby_dep
dependency requires Ruby 2.2.5 and above, but Vagrant comes bundled with Ruby 2.2.3. I have tried installing every version ofvagrant-unison2
between 1.0.0 and 1.2.4 with no success.ruby_dep
1.4.0 came out 2 days ago, so it might be related.The full error message:
Manual installation error:
The text was updated successfully, but these errors were encountered: