rake db:安装总是失败

时间:2014-12-23 13:22:35

标签: ruby apache passenger

我正在尝试安装ruby应用程序。我正在尝试为此应用程序使用远程数据库。但是在配置完所有内容后,当我执行bundle exec rake db:setup时,我得到了这个。

rake aborted!
Psych::SyntaxError: (<unknown>): did not find expected key while parsing a block mapping at line 1 column 1
/home/deploy/peatio/current/vendor/bundle/ruby/2.1.0/gems/figaro-0.7.0/lib/figaro.rb:21:in `raw'
/home/deploy/peatio/current/vendor/bundle/ruby/2.1.0/gems/figaro-0.7.0/lib/figaro.rb:17:in `env'
/home/deploy/peatio/current/vendor/bundle/ruby/2.1.0/gems/figaro-0.7.0/lib/figaro/railtie.rb:7:in `block in <class:Railtie>'
/home/deploy/peatio/current/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:36:in `call'
/home/deploy/peatio/current/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
/home/deploy/peatio/current/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
/home/deploy/peatio/current/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:44:in `each'
/home/deploy/peatio/current/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
/home/deploy/peatio/current/vendor/bundle/ruby/2.1.0/gems/railties-4.0.12/lib/rails/application.rb:67:in `inherited'
/home/deploy/peatio/current/config/application.rb:15:in `<module:Peatio>'
/home/deploy/peatio/current/config/application.rb:14:in `<top (required)>'
/home/deploy/peatio/current/Rakefile:5:in `require'
/home/deploy/peatio/current/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

我该如何排查?

0 个答案:

没有答案