<p>Sorry, tt's my mistake to tell you my platform is Ubuntu 14.04 (trusty tar). I've make sure that my postgres server ran normally. The others program still connect to it ok. Because I don't know anything about ruby, therefore I can't go into your source code to debug.<br>
Thanks for your help!</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/978#issuecomment-106767332">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLWOlYho4aEO-6KY-PEnr27H4NMF9ks5oODaXgaJpZM4Eu7Zt.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/978#issuecomment-106767332"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>