运行服务器导轨失败时。
jhipster @ jhipster-VM:〜/ Escritorio / witcamp $ gem li
*本地宝石*
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 :(得分:0)
在你的database.yml文件中应该是。
适配器:postgresql
另外,在GemFile中必须有: gem' pg'