http://i-am.web777.net/2007/01/capistrano.html 上記エントリーの続き メンテナンス画面は、カレントディレクトリに maintenance.rhtml がある場合はこちらがテンプレートとして使用される。 単純に RAILS_ROOT に maintenance.rhtml を設置してもよいが、あまり綺麗じゃないので、少し disable_web タスクを少し変更してみる。 テンプレートを config/templates/maintenance.rhtml に配置して config/deploy.rb に以下のように記述。 task :disable_web do # Get the current path dir = `pwd`.chomp # Copy the template to the current path (this is