首页 > Windows开发 > 详细

capistrano2和3生成Capfile语句的区别

时间:2015-09-18 20:31:48      阅读:319      评论:0      收藏:0      [点我收藏+]

 

 https://github.com/capistrano/capistrano

https://github.com/capistrano/capistrano/wiki

https://github.com/capistrano/capistrano/wiki/2.x-from-the-beginning

(1)使用capistrano2,要在Gemfile里指定版本

  gem capistrano, git: https://github.com/capistrano/capistrano, branch: :legacy-v2
  gem capistrano-rbenv, git: https://github.com/yyuu/capistrano-rbenv.git, branch: :develop

如果使用最新版本的就不需要指定版本了~

(2)capistrano2生成Capfile用的命令是

$ bundle exec capify .

capistrano3生成Capfile用的命令是

$ bundle exec cap install

 

capistrano2和3生成Capfile语句的区别

原文:http://www.cnblogs.com/iwangzheng/p/4820224.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!