All threads / Deploy Fail

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Deploy Fail

Jorge Dominguez asked in Rails

HI there guys.

Im following this guide:

and this is what i get

rvm 1.28.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
ruby-2.3.1
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
00:00 git:wrapper
      01 mkdir -p /tmp
    ✔ 01 deploy@pluslink.net 0.192s
      Uploading /tmp/git-ssh-erpinnova-production-Jorge.sh 100.0%
      02 chmod 700 /tmp/git-ssh-erpinnova-production-Jorge.sh
    ✔ 02 deploy@pluslink.net 0.169s
00:00 git:check
      01 git ls-remote --heads git@gitlab.com:innovacode/erpinnova.git
      01 'string deleted'   refs/heads/develop
      01 'string deleted'   refs/heads/email
      01 'string deleted'   refs/heads/master
      01 'string deleted'   refs/heads/vista2
    ✔ 01 deploy@pluslink.net 1.442s
00:02 deploy:check:directories
      01 mkdir -p /home/deploy/erpinnova/shared /home/deploy/erpinnova/releases
    ✔ 01 deploy@pluslink.net 0.156s
00:02 deploy:check:linked_dirs
      01 mkdir -p /home/deploy/erpinnova/shared/log /home/deploy/erpinnova/shared/tmp/pids /home/deploy/erpinnova/shared/tmp/cache /home/deploy/erpinnova/shared/tmp/sockets /hom…
    ✔ 01 deploy@pluslink.net 0.185s
00:02 deploy:check:make_linked_dirs
      01 mkdir -p /home/deploy/erpinnova/shared/config
    ✔ 01 deploy@pluslink.net 0.168s
00:03 git:clone
      The repository mirror is at /home/deploy/erpinnova/repo
00:03 git:update
      01 git remote update --prune
      01 Fetching origin
    ✔ 01 deploy@pluslink.net 1.448s
00:05 git:create_release
      01 mkdir -p /home/deploy/erpinnova/releases/20161230191358
    ✔ 01 deploy@pluslink.net 0.193s
      02 git archive master | /usr/bin/env tar -x -f - -C /home/deploy/erpinnova/releases/20161230191358
    ✔ 02 deploy@pluslink.net 0.393s
00:06 deploy:set_current_revision
      01 echo "b0f3688df97a620812458914a0036b9285a7748d" >> REVISION
    ✔ 01 deploy@pluslink.net 0.270s
00:06 deploy:symlink:linked_files
      01 mkdir -p /home/deploy/erpinnova/releases/20161230191358/config
    ✔ 01 deploy@pluslink.net 0.202s
      02 rm /home/deploy/erpinnova/releases/20161230191358/config/database.yml
    ✔ 02 deploy@pluslink.net 0.194s
      03 ln -s /home/deploy/erpinnova/shared/config/database.yml /home/deploy/erpinnova/releases/20161230191358/config/database.yml
    ✔ 03 deploy@pluslink.net 0.158s
      04 rm /home/deploy/erpinnova/releases/20161230191358/config/secrets.yml
    ✔ 04 deploy@pluslink.net 0.205s
      05 ln -s /home/deploy/erpinnova/shared/config/secrets.yml /home/deploy/erpinnova/releases/20161230191358/config/secrets.yml
    ✔ 05 deploy@pluslink.net 0.172s
00:08 deploy:symlink:linked_dirs
      01 mkdir -p /home/deploy/erpinnova/releases/20161230191358 /home/deploy/erpinnova/releases/20161230191358/tmp /home/deploy/erpinnova/releases/20161230191358/vendor /home/d…
    ✔ 01 deploy@pluslink.net 0.192s
      02 rm -rf /home/deploy/erpinnova/releases/20161230191358/log
    ✔ 02 deploy@pluslink.net 0.258s
      03 ln -s /home/deploy/erpinnova/shared/log /home/deploy/erpinnova/releases/20161230191358/log
    ✔ 03 deploy@pluslink.net 0.293s
      04 ln -s /home/deploy/erpinnova/shared/tmp/pids /home/deploy/erpinnova/releases/20161230191358/tmp/pids
    ✔ 04 deploy@pluslink.net 0.194s
      05 ln -s /home/deploy/erpinnova/shared/tmp/cache /home/deploy/erpinnova/releases/20161230191358/tmp/cache
    ✔ 05 deploy@pluslink.net 0.188s
      06 ln -s /home/deploy/erpinnova/shared/tmp/sockets /home/deploy/erpinnova/releases/20161230191358/tmp/sockets
    ✔ 06 deploy@pluslink.net 0.280s
      07 ln -s /home/deploy/erpinnova/shared/vendor/bundle /home/deploy/erpinnova/releases/20161230191358/vendor/bundle
    ✔ 07 deploy@pluslink.net 0.161s
      08 ln -s /home/deploy/erpinnova/shared/public/system /home/deploy/erpinnova/releases/20161230191358/public/system
    ✔ 08 deploy@pluslink.net 0.165s
      09 ln -s /home/deploy/erpinnova/shared/public/uploads /home/deploy/erpinnova/releases/20161230191358/public/uploads
    ✔ 09 deploy@pluslink.net 0.237s
      10 rm -rf /home/deploy/erpinnova/releases/20161230191358/public/assets
    ✔ 10 deploy@pluslink.net 0.171s
      11 ln -s /home/deploy/erpinnova/shared/public/assets /home/deploy/erpinnova/releases/20161230191358/public/assets
    ✔ 11 deploy@pluslink.net 0.197s
00:16 bundler:install
      01 ~/.rvm/bin/rvm default do bundle install --path /home/deploy/erpinnova/shared/bundle --without development test --deployment --quiet
    ✔ 01 deploy@pluslink.net 6.293s
00:22 deploy:assets:precompile
      01 ~/.rvm/bin/rvm default do bundle exec rake assets:precompile
      01 rake aborted!
      01 Devise.secret_key was not set. Please add the following to your Devise initializer:
      01
      01   config.secret_key ='string deleted'
      01
      01 Please ensure you restarted your application after installing Devise or setting the key.
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:498:in `raise_no_secret_key'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:226:in `devise_for'
      01 /home/deploy/erpinnova/releases/20161230191358/config/routes.rb:18:in `block (2 levels) in <top (required)>'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:997:in `block in constraints'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:859:in `scope'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:997:in `constraints'
      01 /home/deploy/erpinnova/releases/20161230191358/config/routes.rb:16:in `block in <top (required)>'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `instance_exec'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `eval_block'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:371:in `draw'
      01 /home/deploy/erpinnova/releases/20161230191358/config/routes.rb:14:in `<top (required)>'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `block in load'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `each'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `load_paths'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:16:in `reload!'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:26:in `block in updater'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/file_update_checker.rb:77:in `execute'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:27:in `updater'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:119:in `block in <module:Finisher>'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
      01 /home/deploy/erpinnova/releases/20161230191358/config/environment.rb:5:in `<top (required)>'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
      01 Tasks: TOP => environment
      01 (See full trace by running task with --trace)
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as deploy@pluslink.net: rake exit status: 1
rake stdout: Nothing written
rake stderr: rake aborted!
Devise.secret_key was not set. Please add the following to your Devise initializer:

  config.secret_key ='string deleted'

Please ensure you restarted your application after installing Devise or setting the key.
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:498:in `raise_no_secret_key'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:226:in `devise_for'
/home/deploy/erpinnova/releases/20161230191358/config/routes.rb:18:in `block (2 levels) in <top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:997:in `block in constraints'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:859:in `scope'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:997:in `constraints'
/home/deploy/erpinnova/releases/20161230191358/config/routes.rb:16:in `block in <top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `instance_exec'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `eval_block'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:371:in `draw'
/home/deploy/erpinnova/releases/20161230191358/config/routes.rb:14:in `<top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `block in load'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `each'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `load_paths'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:16:in `reload!'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:26:in `block in updater'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/file_update_checker.rb:77:in `execute'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:27:in `updater'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:119:in `block in <module:Finisher>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
/home/deploy/erpinnova/releases/20161230191358/config/environment.rb:5:in `<top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => environment
(See full trace by running task with --trace)

SSHKit::Command::Failed: rake exit status: 1
rake stdout: Nothing written
rake stderr: rake aborted!
Devise.secret_key was not set. Please add the following to your Devise initializer:

  config.secret_key ='string deleted'

Please ensure you restarted your application after installing Devise or setting the key.
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:498:in `raise_no_secret_key'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:226:in `devise_for'
/home/deploy/erpinnova/releases/20161230191358/config/routes.rb:18:in `block (2 levels) in <top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:997:in `block in constraints'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:859:in `scope'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:997:in `constraints'
/home/deploy/erpinnova/releases/20161230191358/config/routes.rb:16:in `block in <top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `instance_exec'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `eval_block'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:371:in `draw'
/home/deploy/erpinnova/releases/20161230191358/config/routes.rb:14:in `<top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `block in load'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `each'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `load_paths'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:16:in `reload!'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:26:in `block in updater'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/file_update_checker.rb:77:in `execute'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:27:in `updater'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:119:in `block in <module:Finisher>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
/home/deploy/erpinnova/releases/20161230191358/config/environment.rb:5:in `<top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => environment
(See full trace by running task with --trace)

Tasks: TOP => deploy:assets:precompile
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as deploy@pluslink.net: rake exit status: 1
rake stdout: Nothing written
rake stderr: rake aborted!
Devise.secret_key was not set. Please add the following to your Devise initializer:

  config.secret_key = 'string deleted'

Please ensure you restarted your application after installing Devise or setting the key.
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:498:in `raise_no_secret_key'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:226:in `devise_for'
/home/deploy/erpinnova/releases/20161230191358/config/routes.rb:18:in `block (2 levels) in <top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:997:in `block in constraints'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:859:in `scope'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/mapper.rb:997:in `constraints'
/home/deploy/erpinnova/releases/20161230191358/config/routes.rb:16:in `block in <top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `instance_exec'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `eval_block'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:371:in `draw'
/home/deploy/erpinnova/releases/20161230191358/config/routes.rb:14:in `<top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `block in load'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `each'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `load_paths'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:16:in `reload!'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:26:in `block in updater'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/file_update_checker.rb:77:in `execute'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:27:in `updater'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:119:in `block in <module:Finisher>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
/home/deploy/erpinnova/releases/20161230191358/config/environment.rb:5:in `<top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => environment
(See full trace by running task with --trace)


** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:


/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'

/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'

/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'

/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'

/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

 DEBUG [3849dd61]   Tasks: TOP => environment

 DEBUG [3849dd61]   (See full trace by running task with --trace)

What am doing wrong?

From the log output that you posted above it looks like you haven't set a secret key in your config/initializers/devise.rb file:

From your log output:
Devise.secret_key was not set. Please add the following to your Devise initializer: config.secret_key ='string deleted'

I already add secret_key to devise.rb
and nothing.

So While im looking for an anwer Here i bring an update of my status:

orge:erpinnova Jorge$ cap production deploy
rvm 1.28.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
ruby-2.3.1
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
00:00 git:wrapper
      01 mkdir -p /tmp
    ✔ 01 deploy@pluslink.net 0.208s
      Uploading /tmp/git-ssh-erpinnova-production-Jorge.sh 100.0%
      02 chmod 700 /tmp/git-ssh-erpinnova-production-Jorge.sh
    ✔ 02 deploy@pluslink.net 0.161s
00:01 git:check
      01 git ls-remote --heads git@gitlab.com:innovacode/erpinnova.git
      01 164cc44d0a88e54c6366cd8acabcfa57f98e33ea   refs/heads/develop
      01 33e4ac3444fcf86895d08c2c28eabbbbc55c4b9b   refs/heads/email
      01 b0f3688df97a620812458914a0036b9285a7748d   refs/heads/master
      01 5681766858d10810a276544ba064e8e5bf3316d5   refs/heads/vista2
    ✔ 01 deploy@pluslink.net 1.587s
00:02 deploy:check:directories
      01 mkdir -p /home/deploy/erpinnova/shared /home/deploy/erpinnova/releases
    ✔ 01 deploy@pluslink.net 0.254s
00:02 deploy:check:linked_dirs
      01 mkdir -p /home/deploy/erpinnova/shared/log /home/deploy/erpinnova/shared/tmp/pids /home/deploy/erpinnova/shared/tmp/cache /home/deploy/erpinnova/shared/tmp/sockets /hom…
    ✔ 01 deploy@pluslink.net 0.272s
00:03 deploy:check:make_linked_dirs
      01 mkdir -p /home/deploy/erpinnova/shared/config
    ✔ 01 deploy@pluslink.net 0.262s
00:04 git:clone
      The repository mirror is at /home/deploy/erpinnova/repo
00:04 git:update
      01 git remote update --prune
      01 Fetching origin
    ✔ 01 deploy@pluslink.net 1.432s
00:06 git:create_release
      01 mkdir -p /home/deploy/erpinnova/releases/20161230212357
    ✔ 01 deploy@pluslink.net 0.187s
      02 git archive master | /usr/bin/env tar -x -f - -C /home/deploy/erpinnova/releases/20161230212357
    ✔ 02 deploy@pluslink.net 0.426s
00:07 deploy:set_current_revision
      01 echo "b0f3688df97a620812458914a0036b9285a7748d" >> REVISION
    ✔ 01 deploy@pluslink.net 0.196s
00:07 deploy:symlink:linked_files
      01 mkdir -p /home/deploy/erpinnova/releases/20161230212357/config
    ✔ 01 deploy@pluslink.net 0.209s
      02 rm /home/deploy/erpinnova/releases/20161230212357/config/database.yml
    ✔ 02 deploy@pluslink.net 0.194s
      03 ln -s /home/deploy/erpinnova/shared/config/database.yml /home/deploy/erpinnova/releases/20161230212357/config/database.yml
    ✔ 03 deploy@pluslink.net 0.182s
      04 rm /home/deploy/erpinnova/releases/20161230212357/config/secrets.yml
    ✔ 04 deploy@pluslink.net 0.176s
      05 ln -s /home/deploy/erpinnova/shared/config/secrets.yml /home/deploy/erpinnova/releases/20161230212357/config/secrets.yml
    ✔ 05 deploy@pluslink.net 0.172s
00:09 deploy:symlink:linked_dirs
      01 mkdir -p /home/deploy/erpinnova/releases/20161230212357 /home/deploy/erpinnova/releases/20161230212357/tmp /home/deploy/erpinnova/releases/20161230212357/vendor /home/d…
    ✔ 01 deploy@pluslink.net 0.159s
      02 rm -rf /home/deploy/erpinnova/releases/20161230212357/log
    ✔ 02 deploy@pluslink.net 0.188s
      03 ln -s /home/deploy/erpinnova/shared/log /home/deploy/erpinnova/releases/20161230212357/log
    ✔ 03 deploy@pluslink.net 0.234s
      04 ln -s /home/deploy/erpinnova/shared/tmp/pids /home/deploy/erpinnova/releases/20161230212357/tmp/pids
    ✔ 04 deploy@pluslink.net 0.232s
      05 ln -s /home/deploy/erpinnova/shared/tmp/cache /home/deploy/erpinnova/releases/20161230212357/tmp/cache
    ✔ 05 deploy@pluslink.net 0.174s
      06 ln -s /home/deploy/erpinnova/shared/tmp/sockets /home/deploy/erpinnova/releases/20161230212357/tmp/sockets
    ✔ 06 deploy@pluslink.net 0.177s
      07 ln -s /home/deploy/erpinnova/shared/vendor/bundle /home/deploy/erpinnova/releases/20161230212357/vendor/bundle
    ✔ 07 deploy@pluslink.net 0.189s
      08 ln -s /home/deploy/erpinnova/shared/public/system /home/deploy/erpinnova/releases/20161230212357/public/system
    ✔ 08 deploy@pluslink.net 0.220s
      09 ln -s /home/deploy/erpinnova/shared/public/uploads /home/deploy/erpinnova/releases/20161230212357/public/uploads
    ✔ 09 deploy@pluslink.net 0.153s
      10 rm -rf /home/deploy/erpinnova/releases/20161230212357/public/assets
    ✔ 10 deploy@pluslink.net 0.186s
      11 ln -s /home/deploy/erpinnova/shared/public/assets /home/deploy/erpinnova/releases/20161230212357/public/assets
    ✔ 11 deploy@pluslink.net 0.161s
00:16 bundler:install
      01 ~/.rvm/bin/rvm default do bundle install --path /home/deploy/erpinnova/shared/bundle --without development test --deployment --quiet
    ✔ 01 deploy@pluslink.net 6.879s
00:23 deploy:assets:precompile
      01 ~/.rvm/bin/rvm default do bundle exec rake assets:precompile
      01 rake aborted!
      01 Psych::SyntaxError: (<unknown>): found character that cannot start any token while scanning for the next token at line 2 column 1
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:391:in `secrets'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails.rb:36:in `block in <class:Engine>'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
      01 /home/deploy/erpinnova/releases/20161230212357/config/environment.rb:5:in `<top (required)>'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
      01 /home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
      01 /home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
      01 Tasks: TOP => environment
      01 (See full trace by running task with --trace)
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as deploy@pluslink.net: rake exit status: 1
rake stdout: Nothing written
rake stderr: rake aborted!
Psych::SyntaxError: (<unknown>): found character that cannot start any token while scanning for the next token at line 2 column 1
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:391:in `secrets'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails.rb:36:in `block in <class:Engine>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
/home/deploy/erpinnova/releases/20161230212357/config/environment.rb:5:in `<top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => environment
(See full trace by running task with --trace)

SSHKit::Command::Failed: rake exit status: 1
rake stdout: Nothing written
rake stderr: rake aborted!
Psych::SyntaxError: (<unknown>): found character that cannot start any token while scanning for the next token at line 2 column 1
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:391:in `secrets'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails.rb:36:in `block in <class:Engine>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
/home/deploy/erpinnova/releases/20161230212357/config/environment.rb:5:in `<top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => environment
(See full trace by running task with --trace)

Tasks: TOP => deploy:assets:precompile
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as deploy@pluslink.net: rake exit status: 1
rake stdout: Nothing written
rake stderr: rake aborted!
Psych::SyntaxError: (<unknown>): found character that cannot start any token while scanning for the next token at line 2 column 1
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:391:in `secrets'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails.rb:36:in `block in <class:Engine>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
/home/deploy/erpinnova/releases/20161230212357/config/environment.rb:5:in `<top (required)>'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => environment
(See full trace by running task with --trace)


** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:


/home/deploy/erpinnova/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'

/home/deploy/.rvm/gems/ruby-2.3.1/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'

/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `load'

/home/deploy/.rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'

/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'

/home/deploy/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

 DEBUG [571dc449]   Tasks: TOP => environment

 DEBUG [571dc449]   (See full trace by running task with --trace)

I think I got it.
Bad Database.yml indentation.

Also there was on an issue on the ruby version.
Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 52,887+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.