I have a weird problem.
I have a Rails (2.3) App where today after some commit/push action I found in a view directory some files like this:
/presentacion_en.html.erb
/presentacion_en.html.erb.~1~
I want to get rid of the .~1~ one, but if I delete it, i get the following error:
Errno::ENOENT in StaticController#show
No such file or directory -
/var/www/app/views/static/presentacion_en.html.erb.~1~
Why is the app pointing to .~1~ when the html code looks like this:
<a href="../staticpages/presentacion_en" class="flag">Link</a>
If it helps, I'm using Bazaar as version control.
I will answer myself:
I don't know where this backup files came from, but I just removed them, and restart the server and all start working again!
Thanks Max Williams for the effort!