At a guess, you have more than one version of Capistrano installed, and
need to specify the correct one to use in your Gemfile, and execute this
command rather with `bundle exec cap .......`.

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

On 15 June 2015 at 22:40, Arup Rakshit <tuka...@gmail.com> wrote:

> Versions:
>
>    - Ruby 2.2.2
>    - Capistrano 3
>    - Rake / Rails / etc  Rails 4.2
>
> Platform:
>
>    - Working on openSUSE13.1
>    - Deploying to Ubuntu14.04
>
> Logs:
>
>    - Please past logs (as completely as possible to a 3rd party pasting
>    service such as pastie.org
>
>
> [arup@gobgob-ror (cap_config)]$ cap deploy:setup
> Stage not set, please call something such as `cap production deploy`,
> where production is a stage you have defined.
> [arup@gobgob-ror (cap_config)]$ cap production deploy:setup
> (Backtrace restricted to imported tasks)
> cap aborted!
> Don't know how to build task 'deploy:setup'
>
>
> (See full trace by running task with --trace)
> [arup@gobgob-ror (cap_config)]$ cap HOSTS=new.server.com deploy:setup^C
> [arup@gobgob-ror (cap_config)]$ cap HOSTS=52.15.109.170 deploy:setup
>
> Stage not set, please call something such as `cap production deploy`,
> where production is a stage you have defined.
> [arup@gobgob-ror (cap_config)]$
>
>
> Files:
>
>    - Capfile
>    - deploy.rb
>    - Stage files (production.rb, staging.rb)
>
>
>
>  --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/capistrano/b76a3eaf-b3a8-4d15-8168-54ca083cb6af%40googlegroups.com
> <https://groups.google.com/d/msgid/capistrano/b76a3eaf-b3a8-4d15-8168-54ca083cb6af%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/CAN_%2BVLVgM65gAdVbyxmjD0MuA6J4ibRM6UogsfGXJDna5ofeXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to