convert ruby1.9.1 to ruby
set up pg user and passwd