rails assets pipeline “Cannot allocate memory - nodejs”

后端 未结 5 1470
野趣味
野趣味 2020-12-14 16:01

we\'ve just upgraded to Rails 3.2.5 from Rails 3.0.7 and using the assets-pipeline compilation on the fly for the staging server, but some times we face this exception !

5条回答
  •  别那么骄傲
    2020-12-14 16:23

    Maybe it helps to:

    RAILS_ENV=production rake assets:clean
    

    Restart your webserver / e.g.

    service apache2 restart
    

    Then:

    RAILS_ENV=production rake assets:precompile
    

提交回复
热议问题