I’m in the middle of upgrading an application to rails 2.0.2 from
1.2.5 and on startup I see this message printed out:
#<NoMethodError: undefined method `configuration’ for #<String:
After some hacking I’ve figured out it emanates from plugin.rb in
railties (railties/lib/rails/plugin.rb) in the following block:
# Allow plugins to reference the current configuration
config = initializer.configuration
eval(IO.read(init_path), binding, init_path) end end end
In the instances I have seen the failure occur, initializer is a
string that is the path to an init.rb file inside a plugin.
Has anyone seen this? Is it harmless? Is it because of some plugins
not doing the right thing for rails 2?