# Strange behavior of rails - configuration ?, memory leak ?, system ? - error

**URL:** <https://www.ruby-forum.com/t/strange-behavior-of-rails-configuration-memory-leak-system-error/175176>\
**Category:** Rails\
**Created:** [September 9, 2009, 10:25am UTC](https://www.ruby-forum.com/t/strange-behavior-of-rails-configuration-memory-leak-system-error/175176 "2009-09-09T10:25:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marmolin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/71e660/32.png) [@marmolin](https://www.ruby-forum.com/u/marmolin)\
**Post date:** [September 9, 2009, 10:25am UTC](https://www.ruby-forum.com/t/strange-behavior-of-rails-configuration-memory-leak-system-error/175176/1 "2009-09-09T10:25:45Z")

</div>

System problems with rails ?  
I have dveloped a rather complex rails application with many gems and  
pluginsg.  
It worked fine until some days ago, when I started to get some  
unredicatble errors that I cannot understand

When I use a certain function for the second time, the system responds  
with the error  
ActionView::TemplateError (No such file or directory - getcwd) on line  
#10 of app/views/layouts/configuration.html.erb:  
I use a plugin in this code called navigation helper , but I do not  
think that’s the problem. When I i change the code I still get the  
same error message pointing to line 10 that then is completely  
different.  
The only way to progress is to restart the server (I use webrick in a  
local setup on a mac), then it works again until I use that function  
the second time

When I load en error reporting plugin josevalim-rails-footnotes I also  
get the errors  
ActionView::TemplateError (No such file or directory - getcwd) in /  
Library/Ruby/Gems/1.8/gems/actionpack-2.3.3/lib/action\_controller/  
templates/rescues/\_trace.erb  
ArgumentError (A copy of AuthenticatedSystem has been removed from the  
module tree but is still active!):  
ArgumentError (A copy of ApplicationController has been removed from  
the module tree but is still active!):  
I have got similar errors before, but then I just have to reload the  
page to get it working agin

What is going on ? Have I configured rails in a wrong way, is my  
program eating up itself or is there memory leaks, is it a system bug  
or what ???

Any help would be very appreciated

---

<div class="post-metadata">

**Author:** ![marmolin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/71e660/32.png) [@marmolin](https://www.ruby-forum.com/u/marmolin)\
**Post date:** [September 9, 2009, 10:27am UTC](https://www.ruby-forum.com/t/strange-behavior-of-rails-configuration-memory-leak-system-error/175176/2 "2009-09-09T10:27:30Z")

</div>

On Wed, Sep 9, 2009 at 1:07 AM, Hans [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> System problems with rails ?  
> I have dveloped a rather complex rails application with many gems and  
> pluginsg.  
> It worked fine until some days ago, when I started to get some  
> unredicatble errors that I cannot understand

So, what changed some days ago?

> When I use a certain function for the second time, the system responds  
> with the error  
> ActionView::TemplateError (No such file or directory - getcwd) on line  
> #10 of app/views/layouts/configuration.html.erb:

What’s exactly on line #10 of configuration.html.erb? At this time, I  
can  
only make guesses because you haven’t provided enough information.

-Conrad

ps: Please provide a better subject in your future posts to the mailing  
list. It will help us better help you.

> ActionView::TemplateError (No such file or directory - getcwd) in /  
> Library/Ruby/Gems/1.8/gems/actionpack-2.3.3/lib/action\_controller/  
> templates/rescues/\_trace.erb  
> ArgumentError (A copy of AuthenticatedSystem has been removed from the  
> module tree but is still active!):  
> ArgumentError (A copy of ApplicationController has been removed from  
> the module tree but is still active!):  
> I have got similar errors before, but then I just have to reload the  
> page to get it working agin

> What is going on ? Have I configured rails in a wrong way, is my  
> program eating up itself or is there memory leaks, is it a system bug  
> or what ???

---

<div class="post-metadata">

**Author:** ![marmolin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/71e660/32.png) [@marmolin](https://www.ruby-forum.com/u/marmolin)\
**Post date:** [September 9, 2009, 10:38am UTC](https://www.ruby-forum.com/t/strange-behavior-of-rails-configuration-memory-leak-system-error/175176/3 "2009-09-09T10:38:03Z")

</div>

I cannot say what happend about 10 days ago, I implemented som new  
remote calls with forms and started to use nested forms and also more  
javascripts, but nothing more specific was done. Also changed to a new  
Imac and had to reinstall rails and other things, but that was done  
some days before the errors showed up

The line 10 is the last line in this call (navigation is a method in  
plugin navigation helper)  
\<%= navigation [  
:about\_disweb, ‘Displays information about current version of  
Disweb’.to\_local(:view),  
:import\_gedcom\_file, ‘Import of data from gedcom files (note that all  
existing data then is deleted)’,  
:import\_gedcom\_picture, ‘Import of pictures defined in from gedcom  
files (note that meta data is already saved in table pictures)’,  
:clear\_flock, ‘Deletes all data in the flock’],  
:hover\_text =\> true, :authorize =\> [:all], :usage  
=\> :role\_requirement %\>

but when I rearrange the code the line 10 could also be the 3 line  
above
