Capistrano没有输出

时间:2019-05-06 14:59:23

标签: ruby-on-rails deployment capistrano

我将Rails应用程序配置为与capistrano一起部署,我认为所有配置都可以 但是当我这样做时:

$ cap production deploy

我什么也没得到!

我愿意

cap production deploy --trace

这是输出:

** Invoke production (first_time)
** Execute production
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke bundler:map_bins (first_time)
** Invoke passenger:bundler:hook (first_time)
** Execute passenger:bundler:hook
** Execute bundler:map_bins
** Invoke rvm:hook (first_time)
** Invoke passenger:rvm:hook (first_time)
** Invoke passenger:test_which_passenger (first_time)
** Execute passenger:test_which_passenger
** Execute passenger:rvm:hook
** Execute rvm:hook
** Invoke rvm:check (first_time)
** Execute rvm:check
** Invoke deploy:set_rails_env (first_time)
** Execute deploy:set_rails_env
** Invoke deploy:set_linked_dirs (first_time)
** Execute deploy:set_linked_dirs
** Invoke deploy:set_rails_env 
** Invoke deploy (first_time)
** Execute deploy
** Invoke deploy:starting (first_time)
** Execute deploy:starting
.
.
.

这是痕迹

出什么问题了?

我使用passenger和nginx

1 个答案:

答案 0 :(得分:0)

我意识到我没有像这样放置服务器:

server "foo.com", user: "user", roles: %w{app db web}