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

Plugin has broken dependencies with Vagrant 1.6.5 #88

Closed
altvnk opened this issue Sep 8, 2014 · 5 comments
Closed

Plugin has broken dependencies with Vagrant 1.6.5 #88

altvnk opened this issue Sep 8, 2014 · 5 comments

Comments

@altvnk
Copy link

altvnk commented Sep 8, 2014

Vagrant bundled nokogiri is higher than required by plugin, this brokes plugin installation.

vagrant plugin install vagrant-vsphere                                                                                                                                                      
Installing the 'vagrant-vsphere' plugin. This can take a few minutes...
The plugin(s) can't be installed due to the version conflicts below.
This means that the plugins depend on a library version that conflicts
with other plugins or Vagrant itself, creating an impossible situation
where Vagrant wouldn't be able to load the plugins.

You can fix the issue by either removing a conflicting plugin or
by contacting a plugin author to see if they can address the conflict.

Vagrant could not find compatible versions for gem "nokogiri":
  In Gemfile:
    vagrant-vsphere (>= 0) ruby depends on
      nokogiri (= 1.5.10) ruby

    vagrant (= 1.6.5) ruby depends on
      nokogiri (1.6.3.1)
@danjellesma
Copy link

I believe RbVmomi fixed this issue. In the Vagrant.Gemspec file (in this project) you can specify nokogiri 1.6.3.1 and continue with the install

@altvnk
Copy link
Author

altvnk commented Sep 9, 2014

Great advice, many thanks.

9 ñåíò. 2014, â 21:29, Dan Jellz [email protected] íàïèñàë(à):

I believe RbVmomi fixed this issue. In the Vagrant.Gemspec file (in this project) you can specify nokogiri 1.6.3.1 and continue with the install


Reply to this email directly or view it on GitHub.

@highsineburgh
Copy link
Contributor

Thanks for the advice danjellz. Change the dependency check from

s.add_dependency 'nokogiri', '~>1.5.10'

to

s.add_dependency 'nokogiri', '>=1.5.10'

Rebuilding the gem and continuing with the installation. I've not noticed any issues thus far with the higher version of nokogiri.

@mkuzmin
Copy link
Contributor

mkuzmin commented Sep 16, 2014

Continued in #90

@flamingbear
Copy link
Member

I think I can close this?

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

5 participants