Actions
Bug #1040
closedrubygems/builder.rb should require user_interaction
Description
=begin
builder.rb includes the UserInteraction module but does not include user_interaction.rb. Anyone wishing to use builder directly gets a strange error:
irb(main):001:0> require 'rubygems/builder'
NameError: uninitialized constant Gem::Builder::UserInteraction
from /usr/local/ruby-1.9/lib/ruby/1.9.1/rubygems/builder.rb:15:in `<class:Builder>'
from /usr/local/ruby-1.9/lib/ruby/1.9.1/rubygems/builder.rb:13:in `<module:Gem>'
from /usr/local/ruby-1.9/lib/ruby/1.9.1/rubygems/builder.rb:7:in `<top (required)>'
from (irb):1:in `require'
from (irb):1
from /usr/local/ruby-1.9/bin/irb:12:in `<main>'
=end
Updated by ko1 (Koichi Sasada) almost 16 years ago
- Assignee set to drbrain (Eric Hodel)
- ruby -v set to 1.9.1
=begin
=end
Updated by naruse (Yui NARUSE) about 15 years ago
- Status changed from Open to Assigned
- Priority changed from Normal to 6
- Target version set to 1.9.2
=begin
=end
Updated by drbrain (Eric Hodel) over 14 years ago
=begin
I have fixed this in RubyGems trunk.
=end
Updated by mame (Yusuke Endoh) over 14 years ago
- Status changed from Assigned to Closed
=begin
Hi,
I think Ruby trunk is also fixed already.
$ ../ruby-trunk-local/bin/irb
irb(main):001:0> require "rubygems/builder"
=> true
So I close this ticket. Thanks.
--
Yusuke Endoh mame@tsg.ne.jp
=end
Actions
Like0
Like0Like0Like0Like0