2016-02-28 72 views
1

當運行服務器導軌失敗時。請安裝postgres適配器:`gem install activerecord-postgres-adapter`

jhipster @ jhipster-VM:〜/ Escritorio/witcamp $寶石李

*當地的寶石*

actionmailer (2.2.2) 
actionpack (2.2.2) 
activerecord (2.2.2) 
activerecord-postgresql-adapter (0.0.1) 

的database.yml

development: 
    adapter: postgres 
    encoding: unicode 
    database: witcamp 
    pool: 5 
    username: root 
    password: 123456 

test: 
    adapter: postgres 
    encoding: unicode 
    database: witcamp 
    pool: 5 
    username: root 
    password: 123456 

回答

0

在你的數據庫.yml文件應該是。

適配器:PostgreSQL的

此外,在Gemfile中必須有:寶石 'PG'

相關問題