使用 Capsitrano 部署 Sinatra 项目

第一次发帖,请各位多多指教,新人在此谢过了,格式不太好,以后会多多注意的 
1: 首先在Gemfile中加入

   group :development do
       gem 'capistrano'
       gem 'capistrano-chruby'
       gem 'capistrano-rvm'
       gem 'capistrano-bundler'
  end   

 2:bundle install 安装capistrano

 3: capify . 执行结果:

  dongchaodeMacBook-Pro:happy iclick$ capify .
--------------------------------------------------------------------------------
Capistrano 3.x is incompatible with Capistrano 2.x.


This command has become `cap install` in Capistrano 3.x


For more information see http://www.capistranorb.com/
————————————————————————————————————————

4:执行cap install  执行结果

dongchaodeMacBook-Pro:happy iclick$ cap install
mkdir -p config/deploy
create config/deploy.rb
create co

你可能感兴趣的:(部署)