Project

General

Profile

Bug #1040

rubygems/builder.rb should require user_interaction

Added by ptoland (Phillip Toland) almost 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
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

History

#1

Updated by ko1 (Koichi Sasada) almost 11 years ago

  • Assignee set to drbrain (Eric Hodel)
  • ruby -v set to 1.9.1

=begin

=end

#2

Updated by naruse (Yui NARUSE) about 10 years ago

  • Status changed from Open to Assigned
  • Priority changed from Normal to 6
  • Target version set to 1.9.2

=begin

=end

#3

Updated by drbrain (Eric Hodel) almost 10 years ago

=begin
I have fixed this in RubyGems trunk.
=end

#4

Updated by mame (Yusuke Endoh) almost 10 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

Also available in: Atom PDF