Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail with sshkit 1.15.0 #105

Open
crmaxx opened this issue Nov 8, 2017 · 1 comment
Open

Fail with sshkit 1.15.0 #105

crmaxx opened this issue Nov 8, 2017 · 1 comment

Comments

@crmaxx
Copy link

crmaxx commented Nov 8, 2017

** Invoke unicorn:setup_app_config (first_time)
** Execute unicorn:setup_app_config
  INFO [a30752d8] Running /usr/bin/env mkdir -pv /home/deploy/app/shared/config as [email protected]
 DEBUG [a30752d8] Command: /usr/bin/env mkdir -pv /home/deploy/app/shared/config
  INFO [a30752d8] Finished in 0.040 seconds with exit status 0 (successful).
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: undefined method `start_with?' for #<Pathname:/home/deploy/app/shared/config/unicorn.rb>
/Users/mzhukov/.rvm/gems/ruby-2.4.2@app/gems/sshkit-1.15.0/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute'
/Users/mzhukov/.rvm/gems/ruby-2.4.2@app/gems/sshkit-1.15.0/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'

Caused by:
NoMethodError: undefined method `start_with?' for #<Pathname:/home/deploy/app/shared/config/unicorn.rb>
/Users/mzhukov/.rvm/gems/ruby-2.4.2@app/gems/sshkit-1.15.0/lib/sshkit/backends/netssh.rb:66:in `upload!'
/Users/mzhukov/.rvm/gems/ruby-2.4.2@app/bundler/gems/capistrano-unicorn-nginx-2e7422cc0d40/lib/capistrano/tasks/unicorn.rake:49:in `block (3 levels) in <top (required)>'
/Users/mzhukov/.rvm/gems/ruby-2.4.2@app/gems/sshkit-1.15.0/lib/sshkit/backends/abstract.rb:29:in `instance_exec'
/Users/mzhukov/.rvm/gems/ruby-2.4.2@app/gems/sshkit-1.15.0/lib/sshkit/backends/abstract.rb:29:in `run'
/Users/mzhukov/.rvm/gems/ruby-2.4.2@app/gems/sshkit-1.15.0/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
Tasks: TOP => unicorn:setup_app_config
@kruglyjmax
Copy link

kruglyjmax commented Apr 11, 2018

Update sshkit gem to 1.15.1 capistrano/sshkit#409

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants