Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: s1kx
The issue will be that Rails tries to connect to the database even just for assets precompiling, and the login for it fails. Check your database.yml so that it works when run on the web server etc.
He means that its annoying to use "libpq" instead of "libpg" (the average joe won't know that thats the name of the library) - not the "-dev" part.