From 0aa2f1de7f6e3ad003797c5d08084068d4339cd2 Mon Sep 17 00:00:00 2001 From: Nick Gauthier Date: Tue, 24 Aug 2010 09:52:16 -0400 Subject: [PATCH] warmsnake docs --- bin/warmsnake.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bin/warmsnake.rb b/bin/warmsnake.rb index 03c4a86..2559758 100644 --- a/bin/warmsnake.rb +++ b/bin/warmsnake.rb @@ -1,4 +1,18 @@ #!/usr/bin/env ruby +# +# warmsnake.rb +# +# This is a first attempt at making a hydra binary. +# +# Currently, all it does is run the files you pass into it. When you +# press Enter it will run them again, maintaining your rails environment. +# When you type 'r' and hit Enter it will reboot the rails environment. +# +# It is extremely specific about its behavior and only works in rails. +# +# It is not really ready for any kind of release, but it is useful, so +# it's included. +# require 'rubygems' require 'hydra'