I’m attempting to deploy an application using Capistrano. I’ve
successfully “capified” and have edited the deploy.rb file. However,
when I run either “rake remote:setup” or “rake remote:exec ACTION =
setup” I get an error saying that
“rake aborted!
Don’t know how to build task ‘remote:setup’” (or ‘remote:exec’)
I am issuing the rake commmands from the project’s top-level directory
on my local server. I’ve attached my “deply.rb” file in case it helps.
Can someone tell me what I am forgetting to do, or what is wrong?
Invoking capistrano via rake is deprecated, and is not supported at
all with Capistrano 2.0. Please use “cap” directly, instead of rake,
for invoking capistrano.
Invoking capistrano via rake is deprecated, and is not supported at
all with Capistrano 2.0. Please use “cap” directly, instead of rake,
for invoking capistrano.
cap deploy:setup
Jamis
Jamis,
Thanks again! All my print references seem to be out of date. Is there
a site with up-to-date, step-by-step directions for doing this?
Thanks again! All my print references seem to be out of date. Is
there
a site with up-to-date, step-by-step directions for doing this?
Alex
Alas, there is no centralized place for docs (yet), but there are blog
articles aplenty.
Jamis
Jamis,
OK. I think I’m almost there. Once I do “cap deploy:setup”, what’s the
next step? I need to know what replaces the deprecated “rake
remote:cold_deploy” step.