Hi,

File.read(VALID_PATH_TO_FILE) works on ruby console but not as a rails
application. I dont understand why it fails saying "No such file or
directory". Even File.exist? returns false from rails application output
but returns true from rails console. It has readable permissions for the
current user , so that's not an issue.
What might be the cause of this problem?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to