注: Rails 3.2.13 と Ruby "1.9.3"、および postgres-0.15.1 を使用しています。
このWebサイトhttp://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec-deployingの手順に従って、Ruby on Railsアプリをheroku にプッシュしようとしましたが、プッシュしようとするとエラーが発生しましたヘロクに
Connecting to database specified by DATABASE_URL 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?
! Precompiling assets failed.
! Push rejected, failed to compile Ruby app
To git@heroku.com:pure-hamlet-9148.git
! [remote rejected] master -> master (pre-receive hook declined)
だから、私は自分自身をグーグルで検索し、以下のコマンドを実行しました
heroku labs:disable user-env-compile heroku labs:enable user-env-compile
それでも同じエラーが発生します。この問題を解決するのを手伝ってください。