gem install vagrant ERROR

limit Lee's Avatar

limit Lee

27 Sep, 2010 06:22 AM

Hi, firstly thanks for your sharing.

I would like to follow your steps to install virtual environment , but I have a error that is " gem install vagrant" , the message shws me as below

ERROR: Error installing vagrant
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb extconf.rv:2:in 'require': no such file to load ---mkmf (LoadError)
from extconf.rb:2


Could you help me? Now I can run "Vagrant ...."

  1. 1 Posted by Andrea Dallera on 27 Sep, 2010 08:27 AM

    Andrea Dallera's Avatar

    You need to install the dev packages to ruby. If you're on Linux they're called ruby1.8-dev (or ruby1.9-dev). Anyway, I don't think this is the kind of question you want to ask on a public board: a very quick Google search reveals the solution to your problem.

  2. Eric Hodel closed this discussion on 27 Sep, 2010 08:46 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac