部署Rails应用程序抛出Capistrano的第一次 :我部署了我的Rails应用另一台机器上(服务器)
对于Rails应用程序文件结构 ## this is my server
akshay@akshay:/var/www/model_demo$ ls
current releases repo revisions.log shared
cap -T ## showing a lots of rake task
喜欢
cap deploy:migrate # Runs rake db:migrate if migrations are set
如果我运行这个任务,它不工作说
Stage not set, please call something such as `cap production deploy`, where production is a stage you have defined.
但是,当我运行
cap production deploy # It works
在所有上市的任务只cap production deploy
1:发动机罩下究竟怎么回事?
2:如何可能我跑这是由盖提供耙任务吗?
任何帮助,将不胜感激 !!!