Could not find compatible versions for gem winrm and vagrant when installing vagrant-windows

494 views
Skip to first unread message

Aleksander Sjåfjell

unread,
Sep 28, 2015, 2:42:29 AM9/28/15
to Vagrant
I have installed Vagrant 1.7.4 with install from Vagrantup.com, downloaded a Windows box, and was promted to run 
`vagrant plugin install vagrant-windows`.

This gives me the following gem issues:

Vagrant could not find compatible versions for gem "winrm":
 
In Gemfile:
    vagrant
(= 1.7.4) ruby depends on
      winrm
(~> 1.3) ruby


    vagrant
(= 1.7.4) ruby depends on
      winrm
-fs (~> 0.2.0) ruby depends on
        winrm
(~> 1.3.0) ruby


    vagrant
-windows (>= 0) ruby depends on
      winrm
(~> 1.1.1) ruby
Vagrant could not find compatible versions for gem "vagrant":
 
In Gemfile:
    vagrant
-windows (>= 0) ruby depends on
      vagrant
(~> 1.0.3) ruby


    vagrant
(= 1.7.4) ruby


How can I solve this?

Any help is appreciated. Thanks!

Alvaro Miranda Aguilera

unread,
Oct 6, 2015, 5:56:29 AM10/6/15
to vagra...@googlegroups.com
Hello:

This plugin is deprecated, please use Vagrant 1.6+ which natively
supports Windows guests over WinRM.

You shouldn't need that plugin.

From where you got the instructions to install that?
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/4d56bafe-550b-44b8-b42e-d3d1e88aa1e7%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Hans-Uwe Brackel

unread,
Oct 24, 2015, 4:51:50 PM10/24/15
to Vagrant
The exact same happens on my system. Vagrant 1.7.4 downloaded from Vagrant website on Mac OS X 10.10; The error message asking for the download of the plugin (`vagrant plugin install vagrant-windows`) is printed upon issuing the "vagrant up" command.

Cheers, HU

Sjåfjell, Aleksander

unread,
Oct 24, 2015, 5:26:30 PM10/24/15
to vagra...@googlegroups.com, vagra...@googlegroups.com
I got the message when running vagrant up, just like Mr. Hans-Uwe.

Thanks!

--
Mvh.
Aleksander Sjåfjell


You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/qId07EPwFp8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezfW_-mcuRRBhzrcSZPHGA7Cd-E226HZ74AC%2B1Ufv1eYg%40mail.gmail.com.

Alvaro Miranda Aguilera

unread,
Oct 24, 2015, 9:24:56 PM10/24/15
to vagra...@googlegroups.com
Hello, please run:

vagrant plugin list

and remove any plugin that may be causing issues.

Alvaro
> https://groups.google.com/d/msgid/vagrant-up/7e5aaa8f-0648-4966-b541-ab47908226f1%40googlegroups.com.

Sjåfjell, Aleksander

unread,
Oct 25, 2015, 4:39:41 AM10/25/15
to vagra...@googlegroups.com, vagra...@googlegroups.com
I will try that today! Does that mean just uninstalling vagrant-windows?

--
Mvh.
Aleksander Sjåfjell


You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/qId07EPwFp8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew2fom1TFqXTcBvgsdGfe4e1d2sKs160sMBNMmnCFxMgg%40mail.gmail.com.

Sjåfjell, Aleksander

unread,
Oct 25, 2015, 5:38:15 AM10/25/15
to vagra...@googlegroups.com, vagra...@googlegroups.com
I am getting the following when running `vagrant plugin list`:
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /Users/SomeDir1 in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Users/SomeDir1 in PATH, mode 040777
vagrant-share (1.1.4, system)

Does this indicate anything?


--
Mvh.
Aleksander Sjåfjell

Alvaro Miranda Aguilera

unread,
Oct 25, 2015, 6:22:32 AM10/25/15
to vagra...@googlegroups.com
Hello

is not an error, but a warning.

those permissions should be 777

you can reinstall if you will like to start fresh

the only plugin that came with vagrant is vagrant-share

Alvaro

On Sun, Oct 25, 2015 at 10:38 PM, Sjåfjell, Aleksander
> https://groups.google.com/d/msgid/vagrant-up/1445765889407.64975c27%40Nodemailer.

Sjåfjell, Aleksander

unread,
Oct 25, 2015, 1:42:23 PM10/25/15
to vagra...@googlegroups.com, vagra...@googlegroups.com
A fresh reinstall did it for me! Thanks for the help, Alvaro!



--
Mvh.
Aleksander Sjåfjell


Reply all
Reply to author
Forward
0 new messages