Skip to content

Instantly share code, notes, and snippets.

@ruvaleev
Created June 26, 2020 09:32
Show Gist options
  • Save ruvaleev/03f36bc8d805543c895f2c44a7ae8786 to your computer and use it in GitHub Desktop.
Save ruvaleev/03f36bc8d805543c895f2c44a7ae8786 to your computer and use it in GitHub Desktop.
Install missing gems with `bundle install`
DEBUG [d8f3659d] Finished in 1.391 seconds with exit status 1 (failed).
INFO [a85ffda1] Running RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.6.5 $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/project/shared/bundle --jobs 1 --without development test --deployment --quiet as deploy@199.192.25.241
DEBUG [a85ffda1] Command: cd /home/deploy/project/releases/20200626092744 && ( export RAILS_ENV="production" RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" ; RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.6.5 $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/project/shared/bundle --jobs 1 --without development test --deployment --quiet )
INFO [a85ffda1] Finished in 201.697 seconds with exit status 0 (successful).
DEBUG [e6339314] Running if test ! -d /home/deploy/project/releases/20200626092744; then echo "Directory does not exist '/home/deploy/project/releases/20200626092744'" 1>&2; false; fi as deploy@199.192.25.241
DEBUG [e6339314] Command: if test ! -d /home/deploy/project/releases/20200626092744; then echo "Directory does not exist '/home/deploy/project/releases/20200626092744'" 1>&2; false; fi
DEBUG [e6339314] Finished in 0.706 seconds with exit status 0 (successful).
INFO [f79cee5f] Running RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.6.5 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@199.192.25.241
DEBUG [f79cee5f] Command: cd /home/deploy/project/releases/20200626092744 && ( export RAILS_ENV="production" RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" RAILS_GROUPS="" ; RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.6.5 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile )
DEBUG [f79cee5f] Could not find net-http-pipeline-1.0.1 in any of the sources
Run `bundle install` to install missing gems.
#<Thread:0x00007faf382f5618@/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-rails-1.5.0/lib/capistrano/tasks/assets.rake:67:in `block (4 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-rails-1.5.0/lib/capistrano/tasks/assets.rake:68:in `block (5 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-rails-1.5.0/lib/capistrano/tasks/assets.rake:69:in `block (6 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=': rake exit status: 7 (SSHKit::Command::Failed)
rake stdout: Could not find net-http-pipeline-1.0.1 in any of the sources
Run `bundle install` to install missing gems.
rake 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: rake exit status: 7 (SSHKit::Runner::ExecuteError)
rake stdout: Could not find net-http-pipeline-1.0.1 in any of the sources
Run `bundle install` to install missing gems.
rake stderr: Nothing written
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as deploy@199.192.25.241: rake exit status: 7
rake stdout: Could not find net-http-pipeline-1.0.1 in any of the sources
Run `bundle install` to install missing gems.
rake stderr: Nothing written
Caused by:
SSHKit::Command::Failed: rake exit status: 7
rake stdout: Could not find net-http-pipeline-1.0.1 in any of the sources
Run `bundle install` to install missing gems.
rake stderr: Nothing written
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@199.192.25.241: rake exit status: 7
rake stdout: Could not find net-http-pipeline-1.0.1 in any of the sources
Run `bundle install` to install missing gems.
rake 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