Skip to content

Instantly share code, notes, and snippets.

Created May 9, 2012 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2649517 to your computer and use it in GitHub Desktop.
Save anonymous/2649517 to your computer and use it in GitHub Desktop.
win32/registry
c:\dev\ruby\downloads\jruby\bin>jruby -vS irb
jruby 1.7.0.dev (ruby-1.9.3-p203) (2012-05-09 f9ca028) (Java HotSpot(TM) Client VM 1.6.0_29) [Windows 7-x86-java]
irb(main):001:0> require 'win32/registry'
DL: This is only a partial implementation, and it's likely broken
c:/dev/ruby/downloads/jruby/lib/ruby/shared/ffi/types.rb:31 warning: already initialized constant TypeDefs
c:/dev/ruby/downloads/jruby/lib/ruby/shared/ffi/library.rb:155 warning: shadowing outer local variable - lib
c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36 warning: loading in progress, circular require considered harmful - dl
require at org/jruby/RubyKernel.java:991
require at c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/fiddle/jruby.rb:2
require at org/jruby/RubyKernel.java:991
(root) at c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:1
require at c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
require at org/jruby/RubyKernel.java:991
(root) at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/dl.rb:520
(root) at c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:1
require at org/jruby/RubyKernel.java:991
require at c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/dl/import.rb:1
require at org/jruby/RubyKernel.java:991
(root) at c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:1
require at c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
eval at org/jruby/RubyKernel.java:1037
(root) at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/win32/registry.rb:1
(root) at c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:1
require at c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
evaluate at (irb):1
evaluate at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/irb/workspace.rb:80
evaluate at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/irb/context.rb:254
loop at org/jruby/RubyKernel.java:1353
eval_input at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/irb.rb:159
catch at org/jruby/RubyKernel.java:1146
signal_status at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/irb.rb:273
eval_input at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/irb.rb:156
each_top_level_statement at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/irb/ruby-lex.rb:243
catch at org/jruby/RubyKernel.java:1146
each_top_level_statement at c:/dev/ruby/downloads/jruby/lib/ruby/1.9/irb/ruby-lex.rb:229
(root) at jirb:13
DL::DLError: cannot find the function: RegDeleteValue()
from c:/dev/ruby/downloads/jruby/lib/ruby/1.9/dl/import.rb:227:in `import_function'
from c:/dev/ruby/downloads/jruby/lib/ruby/1.9/dl/import.rb:133:in `extern'
from c:/dev/ruby/downloads/jruby/lib/ruby/1.9/win32/registry.rb:224:in `API'
from org/jruby/RubyArray.java:1611:in `each'
from c:/dev/ruby/downloads/jruby/lib/ruby/1.9/win32/registry.rb:211:in `API'
from c:/dev/ruby/downloads/jruby/lib/ruby/1.9/win32/registry.rb:208:in `Registry'
from c:/dev/ruby/downloads/jruby/lib/ruby/1.9/win32/registry.rb:66:in `Win32'
from c:/dev/ruby/downloads/jruby/lib/ruby/1.9/win32/registry.rb:2:in `(root)'
from org/jruby/RubyKernel.java:991:in `require'
from c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:1:in `(root)'
from c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36:in `require'
from org/jruby/RubyKernel.java:1037:in `eval'
from (irb):1:in `evaluate'
from org/jruby/RubyKernel.java:1353:in `loop'
from org/jruby/RubyKernel.java:1146:in `catch'
from org/jruby/RubyKernel.java:1146:in `catch'
from jirb:13:in `(root)'irb(main):002:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment