# Error when using plugin discover

**URL:** <https://www.ruby-forum.com/t/error-when-using-plugin-discover/98145>\
**Category:** Rails\
**Created:** [July 12, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/error-when-using-plugin-discover/98145 "2006-07-12T19:15:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [July 12, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/error-when-using-plugin-discover/98145/1 "2006-07-12T19:15:18Z")

</div>

When I run ./script/plugin discover to register new plugin sites I get  
stopped at this point with the following error.  
…  
[http://svn.northpub.com/plugins/](http://svn.northpub.com/plugins/)  
[http://rhnh.svnrepository.com/svn/public/rails/plugins/](http://rhnh.svnrepository.com/svn/public/rails/plugins/)  
(eval):3:in `each': undefined method `[]’ for nil:NilClass  
(NoMethodError)  
from  
/usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:658:in  
`scrape’  
…  
How do I get past this?

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [July 14, 2006, 1:51am UTC](https://www.ruby-forum.com/t/error-when-using-plugin-discover/98145/2 "2006-07-14T01:51:59Z")

</div>

Im having the same problem

* * *

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Larry K.  
Sent: Wednesday, July 12, 2006 10:15 AM  
To: removed\_email\_address@domain.invalid  
Subject: [Rails] error when using plugin discover

When I run ./script/plugin discover to register new plugin sites I get  
stopped at this point with the following error.  
…  
[http://svn.northpub.com/plugins/](http://svn.northpub.com/plugins/)  
[http://rhnh.svnrepository.com/svn/public/rails/plugins/](http://rhnh.svnrepository.com/svn/public/rails/plugins/)  
(eval):3:in `each': undefined method `[]’ for nil:NilClass  
(NoMethodError)  
from /usr/lib/ruby/gems/1.8/gems/rails-  
1.1.2/lib/commands/plugin.rb:658:in `scrape’  
…  
How do I get past this?

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [July 14, 2006, 4:56am UTC](https://www.ruby-forum.com/t/error-when-using-plugin-discover/98145/3 "2006-07-14T04:56:29Z")

</div>

Odd, I just ran ./script/plugin discover today without any problems.  
Maybe  
the gremlins are at your house now 🙂  
-Larry

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [July 14, 2006, 10:54pm UTC](https://www.ruby-forum.com/t/error-when-using-plugin-discover/98145/4 "2006-07-14T22:54:31Z")

</div>

Not yet.

Must be one of the repositories not having something proper, and the  
plugin  
discover doesn’t seem to check for said errors

* * *

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Larry K.  
Sent: Thursday, July 13, 2006 7:55 PM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Rails] error when using plugin discover

Odd, I just ran ./script/plugin discover today without any problems.  
Maybe  
the gremlins are at your house now 🙂  
-Larry

On 7/13/06, Clayton C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

Im having the same problem

* * *

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) ] On Behalf Of Larry K.  
Sent: Wednesday, July 12, 2006 10:15 AM  
To: removed\_email\_address@domain.invalid [mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: [Rails] error when using plugin discover

## When I run ./script/plugin discover to register new plugin sites I get stopped at this point with the following error. … [http://svn.northpub.com/plugins/](http://svn.northpub.com/plugins/) [http://rhnh.svnrepository.com/svn/public/rails/plugins/](http://rhnh.svnrepository.com/svn/public/rails/plugins/) (eval):3:in `each': undefined method `[]’ for nil:NilClass (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/rails- 1.1.2/lib/commands/plugin.rb:658:in `scrape’ … How do I get past this?

Best Regards,  
-Larry  
“Work, work, work…there is no satisfactory alternative.”  
— E.Taft Benson

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [July 14, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/error-when-using-plugin-discover/98145/5 "2006-07-14T23:08:13Z")

</div>

It would be nice if discover could recover enough from an error  
generated by  
a ‘bad’ repository and continue to the next one, rather than quitting  
altogether.  
-Larry
