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

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

Open
ziaulrehman40 opened this issue Jul 18, 2017 · 3 comments
Open

Comments

@ziaulrehman40
Copy link

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.

@createthis
Copy link

same here.

@ziaulrehman40
Copy link
Author

@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.

@ericenns
Copy link

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"

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

3 participants