From: Peter Hickman Date: 2008-10-01T17:42:24+09:00 Subject: Re: Mechanize error, File doesn't exist -- but it DOES! One possible source of error might be the user that your rails script is running as. If your normal user (as you were with the one liner test) is not the same as the user assigned to run the rails script then it might be that the rails script / user does not have permission to read the file or some part of the path (to be sure you could set all files and directories to a+r and all directories to a+x on the path to the file in question). Thats all that I can think of.