Rails app moved to production server gives “dump format error for symbol” error

前端 未结 6 1119
粉色の甜心
粉色の甜心 2021-02-12 15:41

I\'ve just moved my rails app from the development to deployment server. I\'ve installed passenger, but I wanted to try with rails s to make sure all was running fi

6条回答
  •  我在风中等你
    2021-02-12 16:26

    The problem here was that I inserted "haml-rails" under the :assets pipeline, so it was not able to find HAML on the production environment.

    To be honest I'm surprised that just removing javascript_include_tag and stylesheet_link_tag it was still rendering the html.

    By the way I fixed it by moving haml-rails out from the assets scope.

提交回复
热议问题