运行rails db:migrate
时出现以下错误rails aborted!
Your version of PostgreSQL (80422) is too old. Active Record supports PostgreSQL >= 9.1.
/home/alex/lighthouse/whiteshark-backend/bin/rails:9:in `require'
/home/alex/lighthouse/whiteshark-backend/bin/rails:9:in `<top (required)>'
/home/alex/lighthouse/whiteshark-backend/bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
我安装了PostgreSQL 9.6.2但Rails似乎没有认出它。 我也试过这个解决方案无济于事: Postgresql 9.2 on Centos 5, rails, bundle - PostgreSQL is too old
请帮忙!