Displaying 1 result from an estimated 1 matches for "gemloc".
Did you mean:
getloc
2008 Jun 19
0
White-labeling - config.plugins-fu fails in Rails 2.1
...tor.new(Rails::Initializer.new(config)).plugins
end.flatten.map{|p| p.name.to_sym}
Error is:
/usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/plugin/
locator.rb:81:in `plugins'': wrong argument type Symbol (expected Proc)
(TypeError)
Seems to be failing in the GemLocator#plugins method.
Any thoughts on how to modify this code to work in Rails 2.1? Or is
there a better way to do what I am trying to accomplish?
Thanks.
Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "...