Rails: Production Rails console won't start

后端 未结 4 678
挽巷
挽巷 2021-02-04 16:34

Everything works fine on my OS X development laptop.

Deploy the app to production and it runs and displays data as expected.

However, when I try to run the Rails

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-04 17:02

    I solved with run:

     RAILS_ENV=production bundle exec rails c
    

    more details on link

提交回复
热议问题