Hi Steven,

The tasks are incorrectly defined:

 task :start, roles: :web, except: { no_release: true } do
    run "cd #{current_path} && #{bundle_cmd} exec unicorn -c
#{unicorn_config} -E #{rails_env} -D"
  end

Is the Capistrano 2.x format, please see the Capistrano documentation at
http://www.capistranorb.com/ for the new syntax. (Note, I don't really feel
like I have to justify it, but we did *completely* rewrite for V3, and task
definition syntax changes were #1 on the list to improve)

Lee Hambley
--
http://lee.hambley.name/
+49 (0) 170 298 5667


On 21 October 2013 15:35, Steve McIntyre <[email protected]> wrote:

> Hi,
>
> We are trying to upgrade to Capistrano version 3.0 from 2.15.5.  We've
> worked through some of the errors using the documentation available but we
> are now seeing the following error on the server:
>
> */srv/ci/jenkins/jobs/deploy-edge-blog/workspace/src
> cap aborted!Task Argument Error
> config/deploy.rb:30:in `block in <top (required)>'
> config/deploy.rb:30:in `<top (required)>'
> /srv/ci/jenkins/shared/bundle/ruby/2.0.0/gems/capistrano-3.0.0/lib/capistrano/setup.rb:12:in
>  `load'
> /srv/ci/jenkins/shared/bundle/ruby/2.0.0/gems/capistrano-3.0.0/lib/capistrano/setup.rb:12:in
>  `block (2 levels) in <top (required)>'
> /srv/ci/jenkins/shared/bundle/ruby/2.0.0/gems/capistrano-3.0.0/lib/capistrano/application.rb:12:in
>  `run'
> /srv/ci/jenkins/shared/bundle/ruby/2.0.0/gems/capistrano-3.0.0/bin/cap:3:in 
> `<top (required)>'
> /srv/ci/jenkins/shared/bundle/ruby/2.0.0/bin/cap:23:in `load'
> /srv/ci/jenkins/shared/bundle/ruby/2.0.0/bin/cap:23:in `<main>'
> Tasks: TOP => edge
> (See full trace by running task with --trace)
> Build step 'Execute shell' marked build as failure*
>
> I have created a pastie containing our deploy.rb and Capfile configurations 
> here:
>
> http://pastie.org/private/rhhejtojotg5wvermbiljg
>
>
> Any help would very much be appreciated.
>
> Steven
>
>  --
> --
> * You received this message because you are subscribed to the Google
> Groups "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this
> group at http://groups.google.com/group/capistrano?hl=en
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to