-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.6.0
-
Component/s: None
-
None
-
Environment:Ubuntu 11.04 EC2 AMI
# gem install mongo Exception `NameError' at /usr/lib/ruby/1.8/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::InstallCommand Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:779 - Could not find RubyGem test-unit (>= 0) Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:779 - Could not find RubyGem sources (> 0.0.1) Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /root/.gem/specs/rubygems.org%80 Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /root/.gem/specs/rubygems.org%80 Exception `IOError' at /usr/lib/ruby/1.8/rubygems/format.rb:50 - closed stream Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /var/lib/gems/1.8 Exception `NoMethodError' at /usr/lib/ruby/1.8/rubygems/requirement.rb:134 - undefined method `call' for nil:NilClass ERROR: While executing gem ... (NoMethodError) undefined method `call' for nil:NilClass /usr/lib/ruby/1.8/rubygems/requirement.rb:134:in `satisfied_by?' /usr/lib/ruby/1.8/fileutils.rb:243:in `all?' /usr/lib/ruby/1.8/rubygems/requirement.rb:134:in `each' /usr/lib/ruby/1.8/rubygems/requirement.rb:134:in `all?' /usr/lib/ruby/1.8/rubygems/requirement.rb:134:in `satisfied_by?' /usr/lib/ruby/1.8/rubygems/source_index.rb:325:in `search' /usr/lib/ruby/1.8/rubygems/source_index.rb:323:in `select' /usr/lib/ruby/1.8/rubygems/source_index.rb:323:in `search' /usr/lib/ruby/1.8/rubygems/source_index.rb:280:in `find_name' /usr/lib/ruby/1.8/rubygems/installer.rb:243:in `installation_satisfies_dependency?' /usr/lib/ruby/1.8/rubygems/installer.rb:232:in `ensure_dependency' /usr/lib/ruby/1.8/rubygems/installer.rb:181:in `install' /usr/lib/ruby/1.8/rubygems/installer.rb:180:in `each' /usr/lib/ruby/1.8/rubygems/installer.rb:180:in `install' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:277:in `install' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:247:in `each' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:247:in `install' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:119:in `execute' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:116:in `each' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:116:in `execute' /usr/lib/ruby/1.8/rubygems/command.rb:270:in `invoke' /usr/lib/ruby/1.8/rubygems/command_manager.rb:134:in `process_args' /usr/lib/ruby/1.8/rubygems/command_manager.rb:104:in `run' /usr/lib/ruby/1.8/rubygems/gem_runner.rb:58:in `run' /usr/bin/gem:21
# gem install bson_ext --debug Exception `NameError' at /usr/lib/ruby/1.8/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::InstallCommand Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:779 - Could not find RubyGem test-unit (>= 0) Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:779 - Could not find RubyGem sources (> 0.0.1) Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /root/.gem/specs/rubygems.org%80 Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /root/.gem/specs/rubygems.org%80 Exception `IOError' at /usr/lib/ruby/1.8/rubygems/format.rb:50 - closed stream Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /var/lib/gems/1.8 Exception `NoMethodError' at /usr/lib/ruby/1.8/rubygems/requirement.rb:134 - undefined method `call' for nil:NilClass ERROR: While executing gem ... (NoMethodError) undefined method `call' for nil:NilClass /usr/lib/ruby/1.8/rubygems/requirement.rb:134:in `satisfied_by?' /usr/lib/ruby/1.8/fileutils.rb:243:in `all?' /usr/lib/ruby/1.8/rubygems/requirement.rb:134:in `each' /usr/lib/ruby/1.8/rubygems/requirement.rb:134:in `all?' /usr/lib/ruby/1.8/rubygems/requirement.rb:134:in `satisfied_by?' /usr/lib/ruby/1.8/rubygems/source_index.rb:325:in `search' /usr/lib/ruby/1.8/rubygems/source_index.rb:323:in `select' /usr/lib/ruby/1.8/rubygems/source_index.rb:323:in `search' /usr/lib/ruby/1.8/rubygems/source_index.rb:280:in `find_name' /usr/lib/ruby/1.8/rubygems/installer.rb:243:in `installation_satisfies_dependency?' /usr/lib/ruby/1.8/rubygems/installer.rb:232:in `ensure_dependency' /usr/lib/ruby/1.8/rubygems/installer.rb:181:in `install' /usr/lib/ruby/1.8/rubygems/installer.rb:180:in `each' /usr/lib/ruby/1.8/rubygems/installer.rb:180:in `install' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:277:in `install' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:247:in `each' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:247:in `install' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:119:in `execute' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:116:in `each' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:116:in `execute' /usr/lib/ruby/1.8/rubygems/command.rb:270:in `invoke' /usr/lib/ruby/1.8/rubygems/command_manager.rb:134:in `process_args' /usr/lib/ruby/1.8/rubygems/command_manager.rb:104:in `run' /usr/lib/ruby/1.8/rubygems/gem_runner.rb:58:in `run' /usr/bin/gem:21