Rails Input output error on linux
If you are getting input/output error on linux rendering .rhtml pages then the only way you can resolve it is by freezing the version of rails…just do:
rake rails:freeze:gems
This command will freeze this rails application to the version of Rails on the server. If you want to delve deep click the link : Freeze Rails
March 14th, 2007 at 9:57 pm
Do you know why freezing the code eliminates the errors? I’m having the same problem on OS X and no one knows why…
March 15th, 2007 at 10:23 am
@Blake what freeze does is it makes a copy of the current rails version on your machine and copies it in the vendor directory with your web application and every time you make a call to ActiveRecord or one of the methods in RAILS libraries it looks for them in the vendor directory rather than on your local machine.
Which implies that your application does not produce any versioning errors when you deploy it as all the libraries it needs are in the same webapp directory.It is suggested to perform the “freeze” rails function just before the deployment.
It is a brilliant functionality.
— andHApp
December 15th, 2007 at 3:51 pm
very interesting, but I don’t agree with you
Idetrorce
December 17th, 2007 at 6:28 pm
@Idetrorce - Please explain what do you think it does… I just gave my opinion.
Thanks for your comment.