plone / training

Plone Trainings
https://training.plone.org
Creative Commons Attribution 4.0 International
58 stars 89 forks source link

vagrant-vbguest install #116

Closed fulv closed 3 years ago

fulv commented 9 years ago

The plone_training_config/instructions.rst page says:

Setup Vagrant to automatically install the current guest additions. You can choose to skip this step if you encounter any problems with it.

$ vagrant plugin install vagrant-vbguest

I have not been able to run this step successfully. I know it's less important, because everything works without it, but still I would like to understand what is going on. Also, for unrelated reasons I would like to be able to install the guest additions.

The maddening thing is that I do have nokogiri installed already:

> whereis nokogiri
/usr/bin/nokogiri

> /usr/bin/nokogiri -v
# Nokogiri (1.6.6.2)
    ---
    warnings: []
    nokogiri: 1.6.6.2
    ruby:
      version: 2.0.0
      platform: universal.x86_64-darwin14
      description: ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
      engine: ruby
    libxml:
      binding: extension
      source: packaged
      libxml2_path: /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2
      libxslt_path: /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxslt/1.1.28
      libxml2_patches:
      - 0001-Revert-Missing-initialization-for-the-catalog-module.patch
      - 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch
      libxslt_patches:
      - 0001-Adding-doc-update-related-to-1.1.28.patch
      - 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
      - 0003-Initialize-pseudo-random-number-generator-with-curre.patch
      - 0004-EXSLT-function-str-replace-is-broken-as-is.patch
      - 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
      - 0007-Separate-function-for-predicate-matching-in-patterns.patch
      - 0008-Fix-direct-pattern-matching.patch
      - 0009-Fix-certain-patterns-with-predicates.patch
      - 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
      - 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
      - 0014-Fix-for-bug-436589.patch
      - 0015-Fix-mkdir-for-mingw.patch
      compiled: 2.9.2
      loaded: 2.9.2

And I can reinstall it individually:

> sudo gem install nokogiri -v '1.6.6.2'
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.6.6.2
1 gem installed

And yet:

> sudo vagrant plugin install vagrant-vbguest
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

An error occurred while installing nokogiri (1.6.6.2), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.6.6.2'` succeeds before bundling.

It does look like the problem has nothing to do with nokogiri, but I was not able to find a solution.

Any ideas?

pbauer commented 9 years ago

@fulv sorry, no idea. On my mac the plugins are installed (except for the Window System drivers which in to be expected) and I'm rather clueless regarding ruby.

svx commented 9 years ago

@fulv which version of vagrant and which version of virtualbox do you use ? Also did you run vagrant plugin update ?

fulv commented 9 years ago

@svx: I did not, but:

> vagrant plugin update
Updating installed plugins...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

An error occurred while installing nokogiri (1.6.6.2), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.6.6.2'` succeeds before bundling.

I have Vagrant 1.6.2, VirtualBox 4.3.12.

fulv commented 9 years ago

http://stackoverflow.com/questions/31632693/can-not-install-vagrant-vbguest

stevepiercy commented 3 years ago

Without further information, and being unable to reproduce this, I'm closing this issue. Please feel free to reopen if it recurs or you have more information.