[Rubygems-developers] [ rubygems-Bugs-26567 ] Using gems including option what is '--debug ', we watch this err what is 'NameError'.

noreply at rubyforge.org noreply at rubyforge.org
Thu Jul 9 19:20:38 EDT 2009


Bugs item #26567, was opened at 2009-07-09 01:52
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=26567&group_id=126

Category: other
>Group: v1.3.x
>Status: Closed
>Resolution: Rejected
Priority: 3
Submitted By: K Y (kohei)
>Assigned to: Eric Hodel (drbrain)
Summary: Using gems including option what is '--debug ',we watch this err what is 'NameError'. 

Initial Comment:
Using gems including option what is '--debug ',
we watch this err what is 'NameError'. 



Example

$gem install rails --debug

=>
Exception `NameError' at /opt/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:134 - uninitialized constant Gem::Commands::InstallCommand

This err is no smart!

For info, part of my RubyGems Environment:
  - RUBYGEMS VERSION: 1.2.0 -- 1.3.4
  - Ruby 1.8.7 (2009-04-08 patchlevel 160) [powerpc-darwin8]
  - INSTALLATION DIRECTORY /opt/local/lib/ruby/gems
  - RUBY EXECUTABLE: /opt/local/bin

-----------


Do Debug Quickly!

----------------------------------------------------------------------

>Comment By: Eric Hodel (drbrain)
Date: 2009-07-09 16:20

Message:
This error is ok, it arrises from $DEBUG = true

See Gem::CommandManager#load_and_instantiate which rescues the exception and requires the correct file (lazy loading).

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=26567&group_id=126


More information about the Rubygems-developers mailing list