LoginEngineを使ってみるを参考に設定。なお、以下のものは個人的な作業記録と防備録。 定型的な下準備。 % rails login ... create log/development.log create log/test.log % cd login plugin というスクリプトがある。既に実行可能にされているので ruby の指定は必須ではない。また、プラグインは、vendor/plugins というディレクトリに配置されるようだ。 % ruby script/plugin Unknown command: Usage: plugin [OPTIONS] command Rails plugin manager. ... % ls vendor/plugins/ % 始めて discover をやるとソースの配付元の指定するのに大量のプロンプトが出るので yes で省略。