# Weird problem : "No such file or directory " of rhtml file on rails

**URL:** <https://www.ruby-forum.com/t/weird-problem-no-such-file-or-directory-of-rhtml-file-on-rails/121762>\
**Category:** Rails\
**Created:** [November 30, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/weird-problem-no-such-file-or-directory-of-rhtml-file-on-rails/121762 "2007-11-30T18:24:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cap](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e9bcb4/32.png) [@cap](https://www.ruby-forum.com/u/cap)\
**Post date:** [November 30, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/weird-problem-no-such-file-or-directory-of-rhtml-file-on-rails/121762/1 "2007-11-30T18:24:35Z")

</div>

I found a few errors in my production log like this below

quote=\<\<LOG

ActionView::TemplateError : No such file or directory - /  
path\_of\_rails\_app/public/…/config/…/app/views/layouts/  
simple\_html.rhtml  
In app/views/layouts/simple\_html.rhtml

LOG

It’s so weird because the error was happend in the file it said “no  
such file or directory”. Our site has about 500 thousand pageviews 1  
day now , and this error happend (2-200) times one day, mostly it is  
layout file, I can’t reproduce it in my testing , I just heard the  
complaint from 2 guests and found it in log.

Our environment is  
“lighttpd 1.4.16 , ruby 1.8.6 , rails 1.2.3, fastcgi , production”  
Maybe It happend when rails try to reloading the rhtml files, Can I  
disable the automatic reloading of rhtml files in rails view in  
produciont environment ? or have anyone met this problem before?
