I am getting an application error when I try to use Dir.chdir in a
<% Dir.chdir('public') %>
The complete dump from development.log is listed below.
When I try the same thing in the console, it works fine.
Loading development environment.
Any ideas on what the problem is, or how to fix it?
Output from development.log