tridentは、 tail -f log/development.logautotestscript/console を一枚の端末上で同時に実行するRailsプラグインでした(trident: tail -f, autotest and script/console at once参照)

ほぼ全てのRailsプロダクトに入れていたのですが、 毎回プラグインインストールするのが面倒になってきたので、 Gem化してGitHub上でリリースしました。

使い方ですが、RAILS_ROOTで以下のコマンドを実行します。

   1  % trident

すると色々立ち上がって script/console のプロンプトが出ます。 autotestのCtrl+Cをする代わりに、以下のコマンドを実行します。

   1  > Trident.reload

終了する時はexitでOKです。

See Also

posted by Png genki on Mon 14 Jul 2008 at 14:13

Comments:

or Preview
Social Bookmarks
  • Delicious
  • B_entry667
  • Clip_16_12_w
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ