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

Warning messages when trying to deploy #97

Open
lloydwatkin opened this issue Jul 26, 2021 · 0 comments
Open

Warning messages when trying to deploy #97

lloydwatkin opened this issue Jul 26, 2021 · 0 comments

Comments

@lloydwatkin
Copy link

This actually prevents me from deploying.

cap production deploy
Skipping task `rbenv:update_ruby_build'.
Skipping task `rbenv:update_ruby_build'.
Capistrano tasks may only be invoked once. Since task `rbenv:update_ruby_build' was previously invoked, invoke("rbenv:update_ruby_build") at /home/lloyd/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/capistrano-rbenv-install-1.2.0/lib/capistrano/tasks/rbenv_install.rake:44 will be skipped.
Skipping task `rbenv:update_ruby_build'.
Capistrano tasks may only be invoked once. Since task `rbenv:update_ruby_build' was previously invoked, invoke("rbenv:update_ruby_build") at /home/lloyd/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/capistrano-rbenv-install-1.2.0/lib/capistrano/tasks/rbenv_install.rake:44 will be skipped.
If you really meant to run this task again, use invoke!("rbenv:update_ruby_build")
THIS BEHAVIOR MAY CHANGE IN A FUTURE VERSION OF CAPISTRANO. Please join the conversation here if this affects you.
https://github.com/capistrano/capistrano/issues/1686
Capistrano tasks may only be invoked once. Since task `rbenv:update_ruby_build' was previously invoked, invoke("rbenv:update_ruby_build") at /home/lloyd/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/capistrano-rbenv-install-1.2.0/lib/capistrano/tasks/rbenv_install.rake:44 will be skipped.
If you really meant to run this task again, use invoke!("rbenv:update_ruby_build")
If you really meant to run this task again, use invoke!("rbenv:update_ruby_build")
THIS BEHAVIOR MAY CHANGE IN A FUTURE VERSION OF CAPISTRANO. Please join the conversation here if this affects you.
THIS BEHAVIOR MAY CHANGE IN A FUTURE VERSION OF CAPISTRANO. Please join the conversation here if this affects you.
Skipping task `rbenv:update_ruby_build'.

If I make the above change I then am unable to deploy due to a git error:

00:00 rbenv:update_ruby_build
      01 git pull
      01 error: Your local changes to the following files would be overwritten by merge:
      01 	bin/ruby-build
      01 	test/build.bats
      01 Please commit your changes or stash them before you merge.
      01 Aborting
      01 Updating 37d7143..75c2fe4
#<Thread:0x0000559c363f4008 /home/lloyd/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	11: from /home/lloyd/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
	10: from /home/lloyd/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:31:in `run'
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

1 participant