mitchellh/vagrant — Issue #752: Undefined method when adding boxes
Author: jsoriano
Created: 2012-02-20 18:02:01+00:00
State: open

I have this error with current master when trying to add a box, I've also tried with a local box created with veewee. I use Linux and Virtual Box 4.1.8.

```
$ vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
/var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/action/general/check_virtualbox.rb:11:in `call': undefined method `driver' for nil:NilClass (NoMethodError)
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/action/warden.rb:33:in `call'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/action/builder.rb:92:in `call'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/action/runner.rb:49:in `run'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/util/busy.rb:19:in `busy'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/action/runner.rb:49:in `run'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/box_collection.rb:38:in `add'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/command/box_add.rb:30:in `execute'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/command/box.rb:31:in `execute'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/cli.rb:38:in `execute'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/lib/vagrant/environment.rb:163:in `cli'
from /var/lib/gems/1.8/gems/vagrant-0.9.99.2/bin/vagrant:43
from /var/lib/gems/1.8/bin/vagrant:19:in `load'
from /var/lib/gems/1.8/bin/vagrant:19
```