rvm1-capistrano3 icon indicating copy to clipboard operation
rvm1-capistrano3 copied to clipboard

Skipping task 'deploy:updating' because it was previously invoked

Open ziaulrehman40 opened this issue 7 years ago • 3 comments

I am having this error/warning whenever i deploy with capistrano, I asked the question on Stack Overflow here , one answer is pointing out some issue in gem implementation.

Please look into the problem and help me solve this issue, this might or might not be the issue with gem implementation.

Thanks.

ziaulrehman40 avatar Jul 18 '17 05:07 ziaulrehman40

same here.

createthis avatar Jul 24 '17 17:07 createthis

@createthis Please update with anything that comes up regarding this. Meanwhile I have switched to other gems and manual RVM management etc. But would love to have this gem properly working.

ziaulrehman40 avatar Jul 25 '17 05:07 ziaulrehman40

I have fixed this issue by adding the following lines to my config/deploy.rb

Rake::Task["rvm1:install:ruby"].clear_prerequisites
before "bundler:install", "rvm1:install:ruby

If you do not use capistrano-bundler you can use the following

Rake::Task["rvm1:install:ruby"].clear_prerequisites
before "deploy:updated", "rvm1:install:ruby

The first line will clear the prequisites, which might cause issue if invoking the task directly as rvm1:hook is no longer required but that can be fixed by adding the following line to config/deboy.rb

before "rvm1:install:ruby", "rvm1:hook"

ericenns avatar Jan 22 '18 15:01 ericenns