Plugin discovery

Every time I run

script/plugin discover

and add all of the repositories

it breaks :

(eval):3:in each': undefined method[]’ for nil:NilClass
(NoMethodError)

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:658:in
`scrape’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:632:in
`parse!’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:631:in
`parse!’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:447:in
`parse!’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:463:in
`parse!’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:871

    from

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require’

    from

/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dep
endencies.rb:147:in `require’

    from script/plugin:3

Is there anyway for the discover to bypass these faulty repositories?

Its been like this for a while hasn’t it?

I’ve found it’s just better to not use discover. It has generally
worked better against my directory than against the wiki page
(script/plugin discover http://www.agilewebdevelopment.com/plugins/
scrape), but I find it’s easier to just go to my directory, search
for what I want, and then use the SVN URL as the option to script/
plugin install.


Benjamin C.
http://www.bencurtis.com/
http://www.tesly.com/ – Collaborative test case management
http://www.agilewebdevelopment.com/ – Resources for the Rails community

An obvious work around,

Does anyone have any idea when this will be working properly?


From: [email protected]
[mailto:[email protected]] On Behalf Of Benjamin C.
Sent: Sunday, August 20, 2006 7:40 AM
To: [email protected]
Subject: [Rails] Re: plugin discovery

I’ve found it’s just better to not use discover. It has generally
worked
better against my directory than against the wiki page (script/plugin
discover http://www.agilewebdevelopment.com/plugins/scrape), but I find
it’s
easier to just go to my directory, search for what I want, and then use
the
SVN URL as the option to script/plugin install.

Benjamin C.

http://www.bencurtis.com/

http://www.tesly.com/ – Collaborative test case management

http://www.agilewebdevelopment.com/ – Resources for the Rails community

On Aug 19, 2006, at 9:05 PM, Clayton C. wrote:

Every time I run

script/plugin discover

and add all of the repositories

it breaks :

(eval):3:in each': undefined method []’ for nil:NilClass
(NoMethodError)

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:658:in
`scrape’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:632:in
`parse!’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:631:in
`parse!’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:447:in
`parse!’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:463:in
`parse!’

    from

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/plugin.rb:871

    from

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require’

    from

/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dep
endencies.rb:147:in `require’

    from script/plugin:3

Is there anyway for the discover to bypass these faulty repositories?

Its been like this for a while hasn’t it?