I am considering ditching Ruby on Rails for my web-development pet-project and using a functional programming language (with or without a framework).
Not that there is a
The web server that claims to be the world's fastest is written in Common Lisp. Check out Teepeedee. It also has a Lisp framework for generating dynamic content.