fix postgresql issue in gemfile