Rails: Production Rails console won't start

后端 未结 4 675
挽巷
挽巷 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 16:41

    Solved it.

    All I needed to do was...

    $ RAILS_ENV=production bundle exec rails console
    

提交回复
热议问题