jarmo/WatirSplash — Issue #5: no such file to load -- ffi_c (LoadError) when executing bundle exec rspec spec
Author: bbaassiri
Created: 2011-11-16 18:06:46+00:00
State: open

Reproducible: haven't tried
Steps to reproduce
OS: winxp
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
gem -v 1.8.11
gem install watirsplash
watirsplash new
cd ui-test
bundle install
bundle exec watirsplash page main
bundle exec rspec spec

Actual Results
\ui-test>bundle exec rspec spec
No DRb server is running. Running in local process instead ...
Loading Spork.prefork block...
C:/Ruby187/lib/ruby/gems/1.8/gems/ffi-1.0.11-x86-mingw32/lib/ffi.rb:11:in `require': no such file to load -- ffi_c (LoadError)
from C:/Ruby187/lib/ruby/gems/1.8/gems/ffi-1.0.11-x86-mingw32/lib/ffi.rb:11
from C:/Ruby187/lib/ruby/gems/1.8/gems/win32screenshot-1.0.6/lib/win32/screenshot.rb:1:in `require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/win32screenshot-1.0.6/lib/win32/screenshot.rb:1
from C:/Ruby187/lib/ruby/gems/1.8/gems/watirsplash-2.4.2/lib/watirsplash/frameworks/helper.rb:7:in `require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/watirsplash-2.4.2/lib/watirsplash/frameworks/helper.rb:7:in `load_gems'
from C:/Ruby187/lib/ruby/gems/1.8/gems/watirsplash-2.4.2/lib/watirsplash/frameworks/helper.rb:6:in `each'
from C:/Ruby187/lib/ruby/gems/1.8/gems/watirsplash-2.4.2/lib/watirsplash/frameworks/helper.rb:6:in `load_gems'
from C:/Ruby187/lib/ruby/gems/1.8/gems/watirsplash-2.4.2/lib/watirsplash/frameworks/watir.rb:1
from C:/Ruby187/lib/ruby/gems/1.8/gems/watirsplash-2.4.2/lib/watirsplash/util.rb:39:in `require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/watirsplash-2.4.2/lib/watirsplash/util.rb:39:in `load_framework'
from C:/Documents and Settings/Administrator/My Documents/340b/340b-web/qa/acceptance/ui-test/spec/spec_helper.rb:23
from C:/Ruby187/lib/ruby/gems/1.8/gems/spork-0.9.0.rc9-x86-mingw32/lib/spork.rb:24:in `prefork'
from C:/Documents and Settings/Administrator/My Documents/340b/340b-web/qa/acceptance/ui-test/spec/spec_helper.rb:7
from C:/Ruby187/lib/ruby/gems/1.8/gems/spork-0.9.0.rc9-x86-mingw32/lib/spork/test_framework.rb:138:in `load'
from C:/Ruby187/lib/ruby/gems/1.8/gems/spork-0.9.0.rc9-x86-mingw32/lib/spork/test_framework.rb:138:in `preload'
from C:/Ruby187/lib/ruby/gems/1.8/gems/spork-0.9.0.rc9-x86-mingw32/lib/spork/app_framework.rb:67:in `preload'
from C:/Ruby187/lib/ruby/gems/1.8/gems/spork-0.9.0.rc9-x86-mingw32/lib/spork/test_framework.rb:134:in `preload'
from C:/Ruby187/lib/ruby/gems/1.8/gems/spork-0.9.0.rc9-x86-mingw32/lib/spork.rb:62:in `exec_prefork'
from C:/Ruby187/lib/ruby/gems/1.8/gems/spork-0.9.0.rc9-x86-mingw32/lib/spork/test_framework.rb:120:in `preload'
from C:/Ruby187/lib/ruby/gems/1.8/gems/spork-local_process-0.0.6/lib/spork/run_strategy/local_process.rb:20:in `run'
from C:/Ruby187/lib/ruby/gems/1.8/gems/spork-local_process-0.0.6/lib/spork/local_process.rb:5
from ./spec/spec_helper.rb:5:in `require'
from ./spec/spec_helper.rb:5
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:247:in `require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:247:in `requires='
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:247:in `map'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:247:in `requires='
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/configuration_options.rb:21:in `send'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/configuration_options.rb:21:in `configure'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/configuration_options.rb:20:in `each'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/configuration_options.rb:20:in `configure'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:17:in `run'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:66:in `run'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `autorun'
from C:/Ruby187/lib/ruby/gems/1.8/bin/rspec:19

however when i do
\ui-test>gem list ffi

*** LOCAL GEMS ***

ffi (1.0.11 x86-mingw32, 1.0.9 x86-mingw32)

it appears to exists