Skip to content

Instantly share code, notes, and snippets.

@ruvaleev
Created June 26, 2020 08:42
Show Gist options
  • Save ruvaleev/4012a9d9047c1c35a060f0070208f3c1 to your computer and use it in GitHub Desktop.
Save ruvaleev/4012a9d9047c1c35a060f0070208f3c1 to your computer and use it in GitHub Desktop.
[11a8bccd] Command: ( export RAILS_ENV="production" RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" ; /usr/bin/env ln -s /home/deploy/project/shared/tmp/sockets /home/deploy/project/releases/20200626083910/tmp/sockets )
INFO [11a8bccd] Finished in 0.715 seconds with exit status 0 (successful).
DEBUG [cc784c56] Running [ -L /home/deploy/project/releases/20200626083910/public/system ] as deploy@199.192.25.241
DEBUG [cc784c56] Command: [ -L /home/deploy/project/releases/20200626083910/public/system ]
DEBUG [cc784c56] Finished in 0.707 seconds with exit status 1 (failed).
DEBUG [5871da54] Running [ -d /home/deploy/project/releases/20200626083910/public/system ] as deploy@199.192.25.241
DEBUG [5871da54] Command: [ -d /home/deploy/project/releases/20200626083910/public/system ]
DEBUG [5871da54] Finished in 0.710 seconds with exit status 1 (failed).
INFO [21cd3160] Running /usr/bin/env ln -s /home/deploy/project/shared/public/system /home/deploy/project/releases/20200626083910/public/system as deploy@199.192.25.241
DEBUG [21cd3160] Command: ( export RAILS_ENV="production" RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" ; /usr/bin/env ln -s /home/deploy/project/shared/public/system /home/deploy/project/releases/20200626083910/public/system )
INFO [21cd3160] Finished in 0.719 seconds with exit status 0 (successful).
DEBUG [9fbad7a3] Running [ -L /home/deploy/project/releases/20200626083910/public/uploads ] as deploy@199.192.25.241
DEBUG [9fbad7a3] Command: [ -L /home/deploy/project/releases/20200626083910/public/uploads ]
DEBUG [9fbad7a3] Finished in 0.711 seconds with exit status 1 (failed).
DEBUG [47d990db] Running [ -d /home/deploy/project/releases/20200626083910/public/uploads ] as deploy@199.192.25.241
DEBUG [47d990db] Command: [ -d /home/deploy/project/releases/20200626083910/public/uploads ]
DEBUG [47d990db] Finished in 0.710 seconds with exit status 1 (failed).
INFO [2c7ddc28] Running /usr/bin/env ln -s /home/deploy/project/shared/public/uploads /home/deploy/project/releases/20200626083910/public/uploads as deploy@199.192.25.241
DEBUG [2c7ddc28] Command: ( export RAILS_ENV="production" RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" ; /usr/bin/env ln -s /home/deploy/project/shared/public/uploads /home/deploy/project/releases/20200626083910/public/uploads )
INFO [2c7ddc28] Finished in 0.717 seconds with exit status 0 (successful).
DEBUG [acfc64f8] Running [ -L /home/deploy/project/releases/20200626083910/public/assets ] as deploy@199.192.25.241
DEBUG [acfc64f8] Command: [ -L /home/deploy/project/releases/20200626083910/public/assets ]
DEBUG [acfc64f8] Finished in 0.714 seconds with exit status 1 (failed).
DEBUG [fa4e89b9] Running [ -d /home/deploy/project/releases/20200626083910/public/assets ] as deploy@199.192.25.241
DEBUG [fa4e89b9] Command: [ -d /home/deploy/project/releases/20200626083910/public/assets ]
DEBUG [fa4e89b9] Finished in 0.716 seconds with exit status 1 (failed).
INFO [221cdf64] Running /usr/bin/env ln -s /home/deploy/project/shared/public/assets /home/deploy/project/releases/20200626083910/public/assets as deploy@199.192.25.241
DEBUG [221cdf64] Command: ( export RAILS_ENV="production" RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" ; /usr/bin/env ln -s /home/deploy/project/shared/public/assets /home/deploy/project/releases/20200626083910/public/assets )
INFO [221cdf64] Finished in 0.710 seconds with exit status 0 (successful).
DEBUG [4ba954e2] Running if test ! -d /home/deploy/project/releases/20200626083910; then echo "Directory does not exist '/home/deploy/project/releases/20200626083910'" 1>&2; false; fi as deploy@199.192.25.241
DEBUG [4ba954e2] Command: if test ! -d /home/deploy/project/releases/20200626083910; then echo "Directory does not exist '/home/deploy/project/releases/20200626083910'" 1>&2; false; fi
DEBUG [4ba954e2] Finished in 0.709 seconds with exit status 0 (successful).
DEBUG [a4feb315] Running RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.6.5 $HOME/.rbenv/shims/bundle exec bundle check --path /home/deploy/project/shared/bundle as deploy@199.192.25.241
DEBUG [a4feb315] Command: cd /home/deploy/project/releases/20200626083910 && ( export RAILS_ENV="production" RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" ; RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.6.5 $HOME/.rbenv/shims/bundle exec bundle check --path /home/deploy/project/shared/bundle )
DEBUG [a4feb315] Could not find rake-13.0.1 in any of the sources
Run `bundle install` to install missing gems.
DEBUG [a4feb315] Finished in 1.153 seconds with exit status 7 (failed).
INFO [2fd116a9] Running RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.6.5 $HOME/.rbenv/shims/bundle exec bundle install --path /home/deploy/project/shared/bundle --jobs 1 --without development test --deployment --quiet as deploy@199.192.25.241
DEBUG [2fd116a9] Command: cd /home/deploy/project/releases/20200626083910 && ( export RAILS_ENV="production" RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" ; RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.6.5 $HOME/.rbenv/shims/bundle exec bundle install --path /home/deploy/project/shared/bundle --jobs 1 --without development test --deployment --quiet )
DEBUG [2fd116a9] Could not find rake-13.0.1 in any of the sources
DEBUG [2fd116a9]
DEBUG [2fd116a9] Run `bundle install` to install missing gems.
DEBUG [2fd116a9]
#<Thread:0x00007fdb660f4080@/Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
13: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
12: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/backends/abstract.rb:31:in `run'
11: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/backends/abstract.rb:31:in `instance_exec'
10: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/capistrano-bundler-1.6.0/lib/capistrano/tasks/bundler.cap:26:in `block (3 levels) in <top (required)>'
9: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/backends/abstract.rb:92:in `within'
8: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/capistrano-bundler-1.6.0/lib/capistrano/tasks/bundler.cap:27:in `block (4 levels) in <top (required)>'
7: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/backends/abstract.rb:100:in `with'
6: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/capistrano-bundler-1.6.0/lib/capistrano/tasks/bundler.cap:39:in `block (5 levels) in <top (required)>'
5: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/backends/abstract.rb:80:in `execute'
4: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/backends/abstract.rb:148:in `create_command_and_execute'
3: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/backends/abstract.rb:148:in `tap'
2: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/backends/abstract.rb:148:in `block in create_command_and_execute'
1: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/backends/netssh.rb:170:in `execute_command'
/Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/command.rb:97:in `exit_status=': bundle exit status: 7 (SSHKit::Command::Failed)
bundle stdout: Could not find rake-13.0.1 in any of the sources
Run `bundle install` to install missing gems.
bundle stderr: Nothing written
1: from /Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
/Users/ruslan/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.0/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as deploy@199.192.25.241: bundle exit status: 7 (SSHKit::Runner::ExecuteError)
bundle stdout: Could not find rake-13.0.1 in any of the sources
Run `bundle install` to install missing gems.
bundle stderr: Nothing written
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as deploy@199.192.25.241: bundle exit status: 7
bundle stdout: Could not find rake-13.0.1 in any of the sources
Run `bundle install` to install missing gems.
bundle stderr: Nothing written
Caused by:
SSHKit::Command::Failed: bundle exit status: 7
bundle stdout: Could not find rake-13.0.1 in any of the sources
Run `bundle install` to install missing gems.
bundle stderr: Nothing written
Tasks: TOP => deploy:updated => bundler:install
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as deploy@199.192.25.241: bundle exit status: 7
bundle stdout: Could not find rake-13.0.1 in any of the sources
Run `bundle install` to install missing gems.
bundle stderr: Nothing written
You have new mail in /var/mail/ruslan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment