I have been converting from Rails 2.3.8 to Rails 3.1.1 and have made
some progress. The 2.3.8 code works fine.
I am now getting the following error and am fairly clueless where to
look.
I think I’ve got an error in my requires but I’m not sure.
All suggestions are welcome.
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/file_update_checker.rb:25:in
stat': can't convert Array into String (TypeErro from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/file_update_checker.rb:25:inblock in updated_at’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/file_update_checker.rb:25:in
map' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/file_update_checker.rb:25:inupdated_at’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/file_update_checker.rb:29:in
execute_if_updated' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/i18n_railtie.rb:62:ininitialize_i18n’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/i18n_railtie.rb:29:in
block in <class:Railtie>' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:34:incall’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:34:in
execute_hook' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:43:inblock in run_load_hooks’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:42:in
each' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/lazy_load_hooks.rb:42:inrun_load_hooks’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/application/finisher.rb:56:in
block in <module:Finisher>' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:30:ininstance_exec’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:30:in
run' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:55:inblock in run_initializers’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:54:in
each' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:54:inrun_initializers’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/application.rb:96:in
initialize!' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/railtie/configurable.rb:30:inmethod_missing’
from
c:/RailsInstaller/Sites/UltraDedup002/config/environment.rb:6:in <top (required)>' from c:/RailsInstaller/Sites/UltraDedup002/config.ru:4:inrequire’
from c:/RailsInstaller/Sites/UltraDedup002/config.ru:4:in block in <main>' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:51:ininstance_eval’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:51:in
initialize' from c:/RailsInstaller/Sites/UltraDedup002/config.ru:1:innew’
from c:/RailsInstaller/Sites/UltraDedup002/config.ru:1:in
<main>' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:40:ineval’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:40:in
parse_file' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/server.rb:200:inapp’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands/server.rb:46:in
app' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/server.rb:301:inwrapped_app’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/server.rb:252:in
start' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands/server.rb:70:instart’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:54:in
block in <top (required)>' from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:49:intap’
from
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:49:in
<top (required)>' from script/rails:6:inrequire’
from script/rails:6:in `’
c:\RailsInstaller\Sites\UltraDedup002>rails -v
Rails 3.1.1