Issue #6495 has been updated by tenderlovemaking (Aaron Patterson).

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

This was fixed in r37391, so I'm closing this.  Thanks!
----------------------------------------
Bug #6495: uninitialized constant due to missing require
https://bugs.ruby-lang.org/issues/6495#change-40428

Author: vbatts (Vincent Batts)
Status: Closed
Priority: Normal
Assignee: tenderlovemaking (Aaron Patterson)
Category: ext
Target version: 
ruby -v: ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux
Backport: 


<issue>
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 `<class:CStructEntity>'
	from /usr/lib64/ruby/1.9.1/dl/struct.rb:46:in `<module:DL>'
	from /usr/lib64/ruby/1.9.1/dl/struct.rb:4:in `<top (required)>'
	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 `<main>'
</issue>

the attached patch fixes this failure.


-- 
http://bugs.ruby-lang.org/