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

About andhapp

Namastey (Hello) Stranger, This is not the geekiest blog on the planet yet it is not the dumbest one either. I am a small time developer who likes to explore new technologies. I usually program in Java, Groovy and Ruby and take keen interest in the surrounding geeky developments.
This entry was posted in Linux, Rails and tagged , . Bookmark the permalink.

4 Responses to Rails Input output error on linux

  1. Blake says:

    Do you know why freezing the code eliminates the errors? I’m having the same problem on OS X and no one knows why…

  2. andhapp says:

    @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

  3. Idetrorce says:

    very interesting, but I don’t agree with you
    Idetrorce

  4. andhapp says:

    @Idetrorce – Please explain what do you think it does… I just gave my opinion.

    Thanks for your comment.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>