zoukankan      html  css  js  c++  java
  • capistrano2和3生成Capfile语句的区别

     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
  • 相关阅读:
    maven搭建
    javascript
    FTP工具类
    jsp相关知识
    java mail 邮箱发送
    servlet相关
    hibernate文档
    6月
    Spring AOP 使用总结
    spring事务配置总结
  • 原文地址:https://www.cnblogs.com/iwangzheng/p/4820224.html
Copyright © 2011-2022 走看看