Rails console not working on server

前端 未结 5 1117
灰色年华
灰色年华 2020-12-29 23:51

When I run bundle exec rails console production or rails console production via SSH on the server in the Current folder of the Capistr

5条回答
  •  忘掉有多难
    2020-12-30 00:46

    I have the same problem, and turns out when you deploy through cap shared/bin is symlink to current/bin.

    Here's what works for me:

    • rm current/bin
    • mkdir current/bin
    • rake rails:update:bin

    This should help, but it is somewhat a temporary solution, I'm trying to find out how to make cap not auto symlink-ing current/bin.

提交回复
热议问题