One-line server in Ruby

$ ruby -run -ehttpd . -p8000

See the provided link for other languages.

Philipp Antar