Evening all,
I am having a weird problem when using builder to spit out an RSS feed,
it looks like Builder and FileUtils are conflicting, and I am getting a
“Cannot convert Hash to String” error with the following trace:
/usr/local/lib/ruby/1.8/fileutils.rb:1390:in directory?' /usr/local/lib/ruby/1.8/fileutils.rb:1390:in
fu_each_src_dest0’
/usr/local/lib/ruby/1.8/fileutils.rb:297:in link' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in
link’
#{RAILS_ROOT}/app/views/welcome/xml.rxml:22:in _run_rxml_welcome_xml' #{RAILS_ROOT}/app/views/welcome/xml.rxml:12:in
_run_rxml_welcome_xml’
#{RAILS_ROOT}/app/views/welcome/xml.rxml:11:in _run_rxml_welcome_xml' #{RAILS_ROOT}/app/views/welcome/xml.rxml:6:in
_run_rxml_welcome_xml’
#{RAILS_ROOT}/app/views/welcome/xml.rxml:5:in _run_rxml_welcome_xml' #{RAILS_ROOT}/app/controllers/welcome_controller.rb:27:in
xml’
/usr/local/bin/mongrel_rails:18
Any ideas why this would happen? and even weirder, why it works for a
while, then stops?
I am using Rails 1.1.6
Cheers!
Justin