A Modified function of Paul Irish's StaticServer shell function, according to this gist You can run static servers for many languages.
$ staticServer <lang> <port> #port is optional, default is 8000
Here is an example of how to use it
$ staticServer ruby 9000
I'm a shell newbie so I'm sure this can be done in a better way, so fork it, modify it & make it better.
Thanks for the shoutout and comment on my gist :) Nice work!