Fixed some deployment problems, added database.yml to gitignore.

Signed-off-by: Michael Englehorn <Michael@Englehorn.com>