Project

General

Profile

Actions

Bug #6495

closed

uninitialized constant due to missing require

Added by vbatts (Vincent Batts) almost 12 years ago. Updated almost 11 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux
Backport:
[ruby-core:45240]

Description

irb(main):022:0> require 'dl/struct' NameError: uninitialized constant DL::CStructEntity::ValueUtil from /usr/lib64/ruby/1.9.1/dl/struct.rb:48:in `' from /usr/lib64/ruby/1.9.1/dl/struct.rb:46:in `
' from /usr/lib64/ruby/1.9.1/dl/struct.rb:4:in `' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from (irb):22 from /usr/bin/irb:12:in `'

the attached patch fixes this failure.


Files

ruby-dl_struct-undefined_constant.patch (255 Bytes) ruby-dl_struct-undefined_constant.patch adding a require vbatts (Vincent Batts), 05/26/2012 02:19 AM

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Status changed from Open to Assigned
  • Assignee set to tenderlovemaking (Aaron Patterson)

I'm not sure if the author had assumed that dl/struct is require'ed directly.
Aaron, what do you think?

--
Yusuke Endoh

Updated by tenderlovemaking (Aaron Patterson) almost 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This was fixed in r37391, so I'm closing this. Thanks!

Actions

Also available in: Atom PDF

Like0
Like0Like0