Problem with discovering available controllers through reflection

This code works under webrick to load and identify every controller in a rails app. However, it fails under mongrel. Instead it only identifies the controller that actually called the method.

Does anyone understand why?

Thanks in advance, David Johnson NW Arkansas

Hi --

I'm running mongrel 1.0.1, ruby 1.8.4, rails 1.2.3 on gentoo and ubuntu (feisty) linux.

What platform are you running on?

Hi --

how about Dir.glob e.g.

http://destiney.com/blog/rubyonrails-model-controller-lists

Mac Tiger, Ruby 1.8.6, Rails 1.2.3, Mongrel 1.0.1.

I bet an update to Ruby 1.8.6 is in order.

Thanks!