title: Refinery error when pushing to Heroku
body: <p>I've a Refinery app, works great locally. 
  Created a bamboo stack on Heroku. </p>
  
  <p>When I try to push I can see this:</p>
  
  <pre><code>Preparing app for Rails asset pipeline
         Running: rake assets:precompile
         rake aborted!
         could not connect to server: Connection refused
         Is the server running on host "127.0.0.1" and accepting
         TCP/IP connections on port 5432?
  </code></pre>
  
  <p>Then I open it up in browser:
  "We're sorry, but something went wrong."</p>
  
  <p>$ heroku logs</p>
  
  <pre><code>Rendered vendor/bundle/ruby/1.9.1/gems/refinerycms-authentication-2.0.2/app/views/refinery/users/new.html.erb within refinery/layouts/login (82.3ms)
  2012-03-15T14:43:25+00:00 app[web.1]: Completed 500 Internal Server Error in 1269ms
  </code></pre>
  
  <p>full output is <a href="https://gist.github.com/2044605" rel="nofollow">here</a></p>
  
  <p>Any help is great, thanks!</p>
  
  <p>+++</p>
  
  <p>Update:</p>
  
  <p>Updated the stack to Cedar and made Ruby env 1.9.3</p>
  
  <pre><code>$ heroku config
  DATABASE_URL        =&gt; ..
  GEM_PATH            =&gt; vendor/bundle/ruby/1.9.1
  LANG                =&gt; en_US.UTF-8
  PATH                =&gt; bin:vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin
  RACK_ENV            =&gt; production
  RAILS_ENV           =&gt; production
  RUBY_VERSION        =&gt; ruby-1.9.3-p0
  SHARED_DATABASE_URL =&gt; ..
  
  $ heroku info --app mimacohuoncedar
  === mimacohuoncedar
  Addons:        Basic Logging, Shared Database 5MB
  Database Size: (empty)
  Git URL:       git@heroku.com:mimacohuoncedar.git
  Owner:         ..
  Repo Size:     9M
  Slug Size:     19M
  Stack:         cedar
  Web URL:       http://mimacohuoncedar.herokuapp.com/
  </code></pre>
  
  <p>$ heroku logs now shows this:
  <a href="https://gist.github.com/2044605" rel="nofollow">this-updated</a></p>
  
  <p>Where to go on? Thanks</p>