Project

General

Profile

Actions

Bug #3332

closed

r27953: gem install causes "uninitialized constant Gem::Commands::InstallCommand"

Added by sandal (Gregory Brown) over 14 years ago. Updated over 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-05-22 trunk 27953) [x86_64-darwin10.3.0]
Backport:
[ruby-core:30371]

Description

=begin
Building from http://svn.ruby-lang.org/repos/ruby/trunk at r27953 causes gem install to fail on both Mac OS X 10.5 and 10.6.

Steps to reproduce follow:

Build from SVN at the above revision in the standard way:

autoconf
./configure
make
make install

Then run the following:

$ gem install -prawn -V --debug
Exception NameError' at /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::InstallCommand Exception NoMethodError' at /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:11 - undefined method const_missing' for Gem:Module Exception NoMethodError' at /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/dependency_installer.rb:4 - undefined method const_missing' for Gem:Module Exception NoMethodError' at /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/commands/install_command.rb:4 - undefined method const_missing' for Gem:Module Exception NoMethodError' at /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:170 - undefined method const_missing' for Gem:Module ERROR: Loading command: install (NoMethodError) undefined method const_missing' for Gem:Module
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:11:in <top (required)>' /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/dependency_installer.rb:4:in require'
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/dependency_installer.rb:4:in <top (required)>' /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/commands/install_command.rb:4:in require'
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/commands/install_command.rb:4:in <top (required)>' /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:170:in require'
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:170:in rescue in load_and_instantiate' /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:163:in load_and_instantiate'
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:90:in []' /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:146:in find_command'
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:133:in process_args' /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:104:in run'
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/gem_runner.rb:58:in run' /Users/byron/lib/ruby192/bin/gem:21:in '
Exception NameError' at /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::InstallCommand Exception NameError' at /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:166 - uninitialized constant Gem::Commands::InstallCommand
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:164:in const_get' /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:164:in load_and_instantiate'
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:90:in []' /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:146:in find_command'
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:133:in process_args' /Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:104:in run'
/Users/byron/lib/ruby192/lib/ruby/1.9.1/rubygems/gem_runner.rb:58:in run' /Users/byron/lib/ruby192/bin/gem:21:in '

I have reviewed this with Eric Hodel, just capturing for further investigation.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0