Capistranoは生きていた

長い間,Capistranoのメンテは終わったと思っていました.

Capistrano - Wikipedia

原作者のJamis Buckは、2009年2月24日に、プロジェクトのメンテナンスをやめると表明した。

しかし,ふとしたことで,あとを引き継いだ人がいることに気付きました.

Google グループ

Lee Hambley

(snip)

I'm looking forward to whatever happens with Capistrano, Jamis has left us with an exceptional bit of code, we owe it to him to make the right decision about where to take it next.

I will be forking copies of the libraries on Github, to make some changes to the way cap logs out to the screen, some things that have come up from time to time on the mailing list, about problems with how, and where capistrano logs, as well as some stuff I want to do with the output to the screen (does that count as logging?)

そして宣言通りGithubに...
GitHub - capistrano/capistrano: Remote multi-server automation tool

メインサイトはこちら.
A remote server automation and deployment tool written in Ruby.

$  gem install capistrano --pre --trust-policy HighSecurity
Fetching: net-ssh-2.6.8.gem (100%)
ERROR:  While executing gem ... (Gem::Security::Exception)
    unsigned gems are not allowed by the High Security policy

$ git clone -b v3 https://github.com/capistrano/capistrano.git
Initialized empty Git repository in /home/hadoop/ruby-2.0.0-p247/capistrano/.git/
remote: Counting objects: 9705, done.
remote: Compressing objects: 100% (3579/3579), done.
remote: Total 9705 (delta 6467), reused 9179 (delta 6018)
Receiving objects: 100% (9705/9705), 1.25 MiB | 424 KiB/s, done.
Resolving deltas: 100% (6467/6467), done.
$ cd capistrano
$ gem build *.gemspec
capistrano.gemspec:15: warning: Insecure world writable dir /usr/local in PATH, mode 040777
WARNING:  licenses is empty
WARNING:  no homepage specified
  Successfully built RubyGem
  Name: capistrano
  Version: 3.0.0.pre13
  File: capistrano-3.0.0.pre13.gem
$ gem install *.gem                                                                                                                    
Successfully installed net-ssh-2.6.8
Fetching: net-scp-1.1.2.gem (100%)
Successfully installed net-scp-1.1.2
Fetching: tins-0.8.3.gem (100%)
Successfully installed tins-0.8.3
Fetching: term-ansicolor-1.2.2.gem (100%)
Successfully installed term-ansicolor-1.2.2
Fetching: sshkit-0.0.34.gem (100%)
Successfully installed sshkit-0.0.34
Fetching: rake-10.1.0.gem (100%)
rake's executable "rake" conflicts with /usr/local/bin/rake
Overwrite the executable? [yN]  y
Successfully installed rake-10.1.0
Fetching: i18n-0.6.4.gem (100%)
Successfully installed i18n-0.6.4
If you're updating Capistrano from 2.x.x, we recommend you to read the upgrade guide: http://www.capistranorb.com/documentation/upgrading/
Successfully installed capistrano-3.0.0.pre13
Parsing documentation for net-ssh-2.6.8
Installing ri documentation for net-ssh-2.6.8
Parsing documentation for net-scp-1.1.2
Installing ri documentation for net-scp-1.1.2
Parsing documentation for tins-0.8.3
Installing ri documentation for tins-0.8.3
Parsing documentation for term-ansicolor-1.2.2
Installing ri documentation for term-ansicolor-1.2.2
Parsing documentation for sshkit-0.0.34
Installing ri documentation for sshkit-0.0.34
Parsing documentation for rake-10.1.0
Installing ri documentation for rake-10.1.0
Parsing documentation for i18n-0.6.4
Installing ri documentation for i18n-0.6.4
Parsing documentation for capistrano-3.0.0.pre13
Installing ri documentation for capistrano-3.0.0.pre13
8 gems installed
$ cap --version
Capistrano Version: 3.0.0.pre13 (Rake Version: 10.1.0)

残念なのは,cap shellが無くなってしまったみたいな点です.

minaというのも見てみたのですが,
Mina

$ gem install mina
Fetching: open4-1.3.0.gem (100%)
Successfully installed open4-1.3.0
Fetching: mina-0.3.0.gem (100%)
Successfully installed mina-0.3.0
Parsing documentation for open4-1.3.0
Installing ri documentation for open4-1.3.0
Parsing documentation for mina-0.3.0
Installing ri documentation for mina-0.3.0
Done installing documentation for open4, mina (0 sec).
2 gems installed
$ mina tasks
Basic usage:
  mina help    # Show help
  mina init    # Creates a sample config file
  mina tasks   # Show all tasks

やっぱcap shell相当の機能は無いっぽいです.