Refinery 앱을 사용 했으므로 로컬에서 훌륭하게 작동합니다. Heroku에 대나무 더미를 만들었습니다. "우리는 죄송하지만 뭔가 잘못했습니다."그럼 난 브라우저에서 열어Heroku로 푸시 할 때 정유 업체 오류가 발생했습니다.
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?
을 : 내가 밀어하려고하면
나는이를 볼 수 있습니다
$의 Heroku가 로그
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
전체 출력은 here
어떤 도움이 큰 감사합니다!
+++
업데이트 : this-updated
장소 :
삼나무에 스택을 업데이트하고 만든 루비 ENV 1.9.3
$ heroku config
DATABASE_URL => ..
GEM_PATH => vendor/bundle/ruby/1.9.1
LANG => en_US.UTF-8
PATH => bin:vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin
RACK_ENV => production
RAILS_ENV => production
RUBY_VERSION => ruby-1.9.3-p0
SHARED_DATABASE_URL => ..
$ heroku info --app mimacohuoncedar
=== mimacohuoncedar
Addons: Basic Logging, Shared Database 5MB
Database Size: (empty)
Git URL: [email protected]:mimacohuoncedar.git
Owner: ..
Repo Size: 9M
Slug Size: 19M
Stack: cedar
Web URL: http://mimacohuoncedar.herokuapp.com/
$의 Heroku가 로그 지금이 보여 계속하려면? 감사합니다
도움을 주셔서 감사합니다, 마침내 gotit! 다른 사람들도 같은 문제가 생길 수 있기 때문에 공유하십시오. 문제가 3 개 있습니다. 먼저 Cedar와 Bamboo stack이 필요합니다. 그런 다음 "heroku run rake db : migrate"로 DB를 마이그레이션했습니다. 마지막으로 언급 한 기사를 사용했습니다. 고마워, 지금 작동! – YogiZoli