请问各位,我在用 mina 部署 rails 时出错,google 查了一下似乎是 rails 的环境变量问题,我在 deploy.rb 添加 set :rails_env, 'development'也没用,这个是用来设置 rails 变量的吧。deploy.rb 只改过四个地方,麻烦各位帮忙看看我哪里环境配置不对,谢谢。
set :domain, '127.0.1.1'
set :deploy_to, '/home/dxw/apps/railsDemoApp'
set :repository, '[email protected]:dxwts/railsDemoApp.git'
set :branch, 'master'
set :rails_env, 'development'
-----> Migrating database
rake aborted!
database configuration does not specify adapter
.....................................................
(See full trace by running task with --trace)
! ERROR: Deploy failed.
-----> Cleaning up build