Error creating database in postgres using Ruby On Rails on windows 7

0

When you run the command on the terminal to create the Rails project database in Postgres:

$ rails db:create

I get this bug that I can not resolve for some time:

rails aborted!
LoadError: cannot load such file -- 2.5/pg_ext

Caused by:
LoadError: cannot load such file -- pg_ext
    
asked by anonymous 09.08.2018 / 19:01

1 answer

0

You probably have not installed the module for postgresql, to install use:

gem install --pg
    
09.08.2018 / 19:06