cap deploy:setup is throwing error Capistrano 3

1,114 views
Skip to first unread message

Arup Rakshit

unread,
Jun 16, 2015, 1:44:52 AM6/16/15
to capis...@googlegroups.com
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)


Lee Hambley

unread,
Jun 16, 2015, 2:34:03 AM6/16/15
to Capistrano
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 .......`.

--
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/b76a3eaf-b3a8-4d15-8168-54ca083cb6af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages