Build scripts for Rails with PgSQL