It is almost hard to convey how nice it is to have useful error messages. This can be the difference between spending hours tracking down a problem and being able to solve a problem in five minutes.
I was trying to get ruby on rails setup on a new machine that didn’t have it setup originally and got it working except it was continually running my app in webrick instead of lighttpd. So I manually run ./script/server lighttpd. After doing this I get the useful message:
=> Booting lighttpd (use ‘script/server webrick’ to force WEBrick)
PROBLEM: Lighttpd requires that the FCGI Ruby bindings are installed on the system
So to fix the problem I simply have to run: apt-get install libfcgi-ruby1.8
This is a great example of why ruby on rails is great. Useful error message make a huge difference when you’re trying to solve problems.
On the same note though they still have room for improvement. The path to ruby was incorrect in my dispatch.fcgi file and the error message displayed makes it look like there was a problem with fcgi somehow rather than the path to ruby being incorrect.