To use the above gist you just change into a directory and enter rs
[/tmp]
lunix@glenmorangie] -> rs
[2012-02-06 21:18:25] INFO WEBrick 1.3.1
[2012-02-06 21:18:25] INFO ruby 1.8.7 (2010-12-23) [x86_64-linux]
[2012-02-06 21:18:25] INFO WEBrick::HTTPServer#start: pid=3700 port=3000