better rvm and postgres config