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 #1

Updated by ko1 (Koichi Sasada) almost 16 years ago

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

=begin

=end

Actions #2

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

Actions #3

Updated by drbrain (Eric Hodel) over 14 years ago

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

Actions #4

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
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0