ITeye博客

use 'capistrano'

xiayw · 2011-05-09 17:48 · Jruby 实战学习笔记 · 编程语言 · Git · Ubuntu · SSH · Linux · capistrano · Markdown

Start to use capistrano

1 add " gem 'capistrano'" a new line to Gemfile 2 run: bundle install 3 # apt-get install openssh-server 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

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)

暂无评论。

评论功能维护中,当前仅展示历史评论。