downgrade pg, pg 1.7 is buggy it is being fixed, we need to wait for the next release
see: https://groups.google.com/forum/#!topic/ruby-pg/5_ylGmog1S4