[Rubygems-developers] [ rubygems-Bugs-28024 ] plugins: can't bind as string (for better or worse).

noreply at rubyforge.org noreply at rubyforge.org
Mon Mar 29 16:07:42 EDT 2010


Bugs item #28024, was opened at 2010-03-29 20:07
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28024&group_id=126

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Roger Pack (rogerdpack)
Assigned to: Nobody (None)
Summary: plugins: can't bind as string (for better or worse).

Initial Comment:
If I call

Gem::CommandManager.instance.register_command 'git_install'

I get this:

ERROR:  While executing gem ... (NoMethodError)
    undefined method `summary' for nil:NilClass
        C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/commands/help_command.rb:122:in `block in execute'
        C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/commands/help_command.rb:120:in `each'
        C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/commands/help_command.rb:120:in `execute'
        C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:258:in `invoke'
        C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:134:in `process_args'
        C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:104:in `run'
        C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:58:in `run'
        C:/Ruby19/bin/gem:21:in `<main>'

however with a symbol it works great.
Thanks!
-rp

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

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


More information about the Rubygems-developers mailing list