Often times, when I am editing files on a server, I just want to serve up static HTML, JavaScript, and CSS.
In the past, I've just typed python -m SimpleHTTPServer
into my terminal and started a web server.
That suffices for most things, but I much prefer Ruby over Python.
Therefore, I decided to try out using Rackup to build a web server of sorts.
This is the product of that (~10 minutes of hacking).
Depending on how lazy you are, you could just copy or symlink this into /usr/local/bin
and rename to whatever you want to punch into your command-line.
I'd be glad to offer help with getting it set up, but I will leave it to you to be creative.
On Unix systems, you can just execute the vomit.ru
file in this project and it should automatically do what it needs to.
If Rack or Ruby is not installed, it won't work, so you should install those before complaining.