Skip to content

Instantly share code, notes, and snippets.

@enebo
Created January 24, 2011 16:52
Show Gist options
  • Save enebo/793513 to your computer and use it in GitHub Desktop.
Save enebo/793513 to your computer and use it in GitHub Desktop.
Nokogiri permission issue on win7 OR x64?
C:\opt\lab\traveljournal>rails db
c:/jruby-1.6.0.RC1/lib/ruby/site_ruby/shared/ffi/library.rb:28:in `ffi_lib': Cou
ld not open library 'c:\jruby-1.6.0.RC1\lib\ruby\gems\1.8\gems\nokogiri-1.4.4.2-
(LoadError)ogiri\libxml2.dll' : The operation completed successfully.
from org/jruby/RubyArray.java:2460:in `collect'
from c:/jruby-1.6.0.RC1/lib/ruby/site_ruby/shared/ffi/library.rb:10:in `
ffi_lib'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/nokogiri-1.4.4.2-java/lib
/nokogiri/ffi/libxml.rb:11:in `(class LibXML)'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/nokogiri-1.4.4.2-java/lib
/nokogiri/ffi/libxml.rb:3:in `(class Nokogiri)'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/nokogiri-1.4.4.2-java/lib
/nokogiri/ffi/libxml.rb:2:in `(root)'
from org/jruby/RubyKernel.java:1041:in `require'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:239:in `require'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:225:in `load_dependency'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:596:in `new_constants_in'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:595:in `new_constants_in'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:225:in `load_dependency'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:239:in `require'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/nokogiri-1.4.4.2-java/lib
/nokogiri/ffi/libxml.rb:11:in `(root)'
from org/jruby/RubyKernel.java:1041:in `require'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:239:in `require'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:225:in `load_dependency'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:596:in `new_constants_in'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:595:in `new_constants_in'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:225:in `load_dependency'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/a
ctive_support/dependencies.rb:239:in `require'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/nokogiri-1.4.4.2-java/lib
/nokogiri.rb:2:in `(root)'
from org/jruby/RubyKernel.java:1041:in `require'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/capybara-0.4.1.1/lib/capy
bara.rb:68:in `require'
from org/jruby/RubyArray.java:1671:in `each'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/bundler-1.0.9/lib/bundler
/runtime.rb:66:in `require'
from org/jruby/RubyArray.java:1671:in `each'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/bundler-1.0.9/lib/bundler
/runtime.rb:55:in `require'
from c:/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/bundler-1.0.9/lib/bundler
.rb:114:in `require'
from C:/opt/lab/traveljournal/config/application.rb:7:in `(root)'
from org/jruby/RubyKernel.java:1041:in `require'
from C:/opt/lab/traveljournal/config/application.rb:35:in `(root)'
from org/jruby/RubyKernel.java:1041:in `require'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment