Project

General

Profile

Actions

Bug #1040

closed

rubygems/builder.rb should require user_interaction

Added by ptoland (Phillip Toland) almost 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
1.9.1
Backport:
[ruby-core:21524]

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0