rvm1-capistrano3
rvm1-capistrano3 copied to clipboard
Skipping task 'deploy:updating' because it was previously invoked
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.
same here.
@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.
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"