Template is missing ..Fetching from root directory

Hello Friends,

In my application when user registered default theme for that use is created in "temp_thems" folder which is not rails root directory.

when i m trying to preview my theme it display 'Template is missing' ERROR. and after restart mongrel server its working fine , So it is necessary to restart server to fetch theme ???

Can you give me the solution that how can i solved this problem .