Welcome Guest | Login

new "no such file error"

After uploading unrelated changes to my working app, I am getting a "no such file error" on calling one of my .xml files from the lib directory... here's the line of code:
doc = REXML::Document.new(File.open("lib/layouts.xml"))
The file is present, and this code is unchanged... only today it is throwing the error.  Any thoughts?

2006-08-17 06:21 PM

Solved the problem... in case others encounter this, the code works with the following change:
"lib/layouts.xml" --> "../lib/layouts.xml"
What is not clear is why it was previously working...

2006-08-17 09:32 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!