Can you let me know where you found that documented? It doesn't exist. See
capistrano/sshkit for the correct docs.

Sent from my Nexus 4.
On 9 Dec 2013 22:59, "Red Hot Chili Pepper" <[email protected]>
wrote:

> I'm trying to do my first deploy with capistrano and get the following
> error
>
> # cap staging deploy
>
> cap aborted!
> undefined local variable or method `ssh_options' for main:Object
> config/deploy.rb:23:in `<top (required)>'
> /var/lib/gems/1.9.1/gems/capistrano-3.0.1/lib/capistrano/setup.rb:12:in
> `load'
> /var/lib/gems/1.9.1/gems/capistrano-3.0.1/lib/capistrano/setup.rb:12:in
> `block (2 levels) in <top (required)>'
> /var/lib/gems/1.9.1/gems/capistrano-3.0.1/lib/capistrano/application.rb:12:in
> `run'
> /var/lib/gems/1.9.1/gems/capistrano-3.0.1/bin/cap:3:in `<top (required)>'
> Tasks: TOP => staging
>
> Inside config/deploy.rb
>
> set :stages, %w(staging prod)
> set :default_stage, "staging"
>
> set :application, "ui"
> set :deploy_to, '/home/nodeuser/platform/'
>
> set :scm, :git
> set :repository,  "[email protected]:company/platform.git"
> set :branch, "master"
>
> ssh_options[:forward_agent] = true
> default_run_options[:pty] = true
>
> set :use_sudo, false
> set :user, 'nodeuser'
>
> set :keep_releases, 2
> after "deploy", "deploy:cleanup"
>
> Inside config/deploy/staging.rb
>
> set :deploy_via, :checkout
> server "website.com", :web, :primary => true
> I'm using Capistrano Version: 3.0.1 (Rake Version: 10.1.0) and I can
> successfully ssh [email protected]
>
> How can I resolve the issue regarding ssh_options?
>
>
>
>  --
> 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].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/capistrano/3f6982d6-1cc6-4ccd-9ce2-9dad5699bb67%40googlegroups.com
> .
> 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/CAN_%2BVLW-_DgMBEQtwTx-coK3fKxS3Lxc6x5F%3D7m%2BKJw_OSjQwg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to