jimmycuadra / vagrant-librarian-chef

*UNMAINTAINED* A Vagrant plugin to install Chef cookbooks using Librarian-Chef.
MIT License
78 stars 15 forks source link

Doesn't work on vagrant 1.4.3 #26

Open etki opened 9 years ago

etki commented 9 years ago

Oh hi. Jus wanted to mention that vagrant 1.4.3 (latest ubuntu repo-version) is incompatible with this plugin (at least on my lubuntu-powered notebook). I didn't save the stacktrace and just downloaded v1.7.2, but anyway, i thought i should inform you.

mbelling commented 9 years ago

I'm not sure if this is the same issue, but I am using vagrant 1.7.4 and Virtualbox 5.0.6.

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 chef (12.0.3), and Bundler cannot continue.
Make sure that `gem install chef -v '12.0.3'` succeeds before bundling.

Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    rake RUBYARCHDIR=C:/Users/someuser/.vagrant.d/gems/gems/chef-12.0.3-x86-mingw32/lib RUBYLIBDIR=C:/Users/someuser/.vagrant.d/gems/gems/chef-12.0.3-x86-mingw32/lib
checking for windmc... yes
checking for windres... yes
checking for gcc... yes
windmc chef-log.man
windres -i chef-log.rc -o resource.o
gcc -o chef-log.dll -shared resource.o
rake aborted!
Errno::EIO: Input/output error - RegCreateKeyEx
C:/Users/someuser/.vagrant.d/gems/gems/win32-eventlog-0.6.1/lib/win32/eventlog.rb:224:in `add_event_source'
C:/Users/someuser/.vagrant.d/gems/gems/chef-12.0.3-x86-mingw32/ext/win32-eventlog/Rakefile:44:in `block in <top (required)>'
Tasks: TOP => default => register
(See full trace by running task with --trace)

Gem files will remain installed in C:/Users/someuser/.vagrant.d/gems/gems/chef-12.0.3-x86-mingw32 for inspection.
Results logged to C:/Users/someuser/.vagrant.d/gems/gems/chef-12.0.3-x86-mingw32/ext/win32-eventlog/gem_make.out