Pedro Mourão
Pedro Mourão

Reputation: 13

Server not running with pg and postgresql on Ruby on Rails

I need some help with this setup on ruby on rails:

ruby version 2.7.1 ruby on rails version 6.0.3.3

In my application gemfile I have:

gem 'postgres' gem 'pg', '~> 0.19.0'

But, when I run 'bundle install' and I will try to run the server, the following message appears:

This is an old, deprecated version of the Ruby PostgreSQL driver that hasn't been maintained or supported since early 2008.

Upvotes: 0

Views: 177

Answers (1)

Priyanka
Priyanka

Reputation: 59

try to install using command gem 'pg' without specifying the version.

Upvotes: 1

Related Questions