cap 3 syntax for after deploy:setup

496 views
Skip to first unread message

Brad Langhorst

unread,
Dec 30, 2013, 2:42:41 PM12/30/13
to capis...@googlegroups.com

Versions:
  • Ruby : 2
  • Capistrano: 3
  • Rake / Rails / etc.:  rails 4

I'm transitioning to cap 3 from an existing cap 2 file.
I used to set up runit like this:

after "deploy:setup", "delayed_job:configure_runit"

namespace :delayed_job do

  desc "configure a runit job in /etc/service for delayed_job"
  task :configure_runit, :roles => :app do

      ... <runit configure stuff>

  end

i tried after :setup, "delayed_job:configure_runit"
in the deploy block - but cap 3 doesn't know setup.

How is one supposed to do this now?

Is this sort of thing out of scope for cap 3 now?

Brad

Lee Hambley

unread,
Dec 31, 2013, 3:47:01 AM12/31/13
to capistrano

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/bce3ac06-5330-43eb-a589-9d8395a7e090%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages