Report this

What is the reason for this report?

Vagrant, Windows, and DigitalOcean - anybody got this working?

Posted on September 13, 2013

I’ve been trying (without success) to install the plugin vagrant-digitalocean in a Windows environment. I installed the latest version of Vagrant (1.3.1) However, when I try and install the plugin for digitalocean, the install fails:

$ vagrant plugin install vagrant-digitalocean Installing the ‘vagrant-digitalocean’ plugin. This can take a few minutes… C:/Tools2/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:556:in `rescue in block in build_extensions’: ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

    C:/Tools2/Vagrant/embedded/bin/ruby.exe extconf.rb

creating Makefile

make generating generator-i386-mingw32.def compiling generator.c linking shared-object json/ext/generator.so

make install /usr/bin/install -c -m 0755 generator.so C: /usr/bin/install -c -m 0755 generator.so . /usr/bin/install: generator.so' and ./generator.so’ are the same file make: *** [and] Error 1

Unfortunately I’m too new to Vagrant / DigialOcean to know where the problem lies. (I don’t seem to have any problem building the json gem in a pure ruby+devkit environment.

Having spent a few hours on this without any success, I’m about to abandon hope! Does anyone have a working installation? Does anybody recognize a common problem? Thanks.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Try installing the ruby-dev package – does that fix it? <br>

B/f trying to install the DigitalOcean provider plugin, were you able to successfully deploy a <a href=“http://docs.vagrantup.com/v2/getting-started/boxes.html”>Vagrant Box</a>?

I ran into this problem and fixed it by installing vagrant 1.2.7

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.