Capistrano 3, Rails 4, database configuration does not specify adapter

前端 未结 6 961
半阙折子戏
半阙折子戏 2020-12-24 14:47

When I start

cap production deploy

it fails like this:

DEBUG [4ee8fa7a] Command: cd /home/deploy/myapp/releases/         


        
6条回答
  •  我在风中等你
    2020-12-24 15:14

    If you're using passenger, you need to add

    rails_env production;
    

    in the in web server's (eg: nginx) .conf where you've specified values for passenger_ruby and passenger_root.

提交回复
热议问题