mitchellh/vagrant — Issue #648: cannot load such file -- ffi_c
Author: simonharrer
Created: 2012-01-18 12:01:56+00:00
State: open

When using vagrant 0.9 on win 7 64bit with ruby 1.9.3 p0 MRI, the command `vagrant init` works as expected. However, invoking `vagrant up` next results in this error:

```
c:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `require': cannot load such file -- ffi_c (LoadError)
from c:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
from c:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/ffi-1.0.11-x86-mingw32/lib/ffi.rb:11:in `rescue in '
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/ffi-1.0.11-x86-mingw32/lib/ffi.rb:2:in `'
from c:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from c:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/childprocess-0.3.0/lib/childprocess/windows.rb:1:in `'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/childprocess-0.3.0/lib/childprocess.rb:23:in `new'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/util/subprocess.rb:36:in `execute'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/util/subprocess.rb:20:in `execute'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/driver/virtualbox_base.rb:279:in `block in raw'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/util/busy.rb:19:in `busy'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/driver/virtualbox_base.rb:278:in `raw'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/driver/virtualbox_base.rb:254:in `execute'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/driver/virtualbox.rb:117:in `read_version'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/driver/virtualbox.rb:36:in `initialize'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/vm.rb:129:in `new'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/vm.rb:129:in `reload!'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/vm.rb:35:in `initialize'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/environment.rb:426:in `new'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/environment.rb:426:in `block in load_vms!'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/environment.rb:425:in `each'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/environment.rb:425:in `load_vms!'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/environment.rb:114:in `vms'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/environment.rb:147:in `multivm?'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/environment.rb:122:in `vms_ordered'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/command/base.rb:88:in `with_target_vms'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/command/up.rb:39:in `execute'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/cli.rb:38:in `execute'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/lib/vagrant/environment.rb:156:in `cli'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.0/bin/vagrant:43:in `'
from c:/Ruby193/bin/vagrant:19:in `load'
from c:/Ruby193/bin/vagrant:19:in `

'
```