use 'capistrano'

Start to use capistrano


1 add " gem 'capistrano'" a new line to Gemfile
2 run: bundle install
3 # apt-get install openssh-server
[color=red][/color]
ssh yourname@localhost
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 07:f7:49:20:90:37:9e:54:c0:9e:a1:ca:0f:6d:30:08.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
Linux chenjing-laptop.beaumaris.net 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.2 LTS

Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/

You have mail.
Last login: Tue Nov 16 10:42:22 2010
[color=red][/color]

4 run:
$ bundle pack
$ git add Gemfile.lock vendor/cache
$ git commit -m "bundle gems"
5 run:
$ git remote add origin ssh://user@host/~/git/depot.git
$ git push origin master


Then it will work
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值