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

前端 未结 6 1118
粉色の甜心
粉色の甜心 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:29

    Change an asset from new.js to new.js.coffee and received this error when trying to render a view which was trying to render new.js:

    ActionView::Template::Error (dump format error for symbol(0x6d))
    

    I figured it was something related to the tmp files (thanks to the comments in this thread). I ran:

    bundle exec rake tmp:clear
    

    And I was good to go!

提交回复
热议问题