정말 Heroku의 문제점이 있습니다. 나는 총 초보자이며 이미 몇 가지 해결책을 시도해 보았고 나를 도와주지 않는 것 같습니다. 다음은이 Heroku가 대신 Postgresql
를 사용 sqlite3
지원하지 않습니다 SQLite는 3heroku가 레일 적용을받지 못했습니다.
Gem files will remain installed in /tmp/build_2i8tok6rv3gyk/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.7 for inspection.
Results logged to /tmp/build_2i8tok6rv3gyk/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.7/ext/sqlite3/gem_make.out
An error occurred while installing sqlite3 (1.3.7), and Bundler cannot continue.
Make sure that `gem install sqlite3 -v '1.3.7'` succeeds before bundling.
!
! Failed to install gems via Bundler.
!
! Detected sqlite3 gem which is not supported on Heroku.
! https://devcenter.heroku.com/articles/sqlite3
!
! Push rejected, failed to compile Ruby/Rails app
To [email protected]:glacial-wildwood-5205.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:glacial-wildwood-5205.git'
어떻게 sqlite3을 제거하고 postgresql을 추가 할 수 있습니까? – Aravind
업데이트 된 답변 – sunny1304
'보석 파일은 조사를 위해 /home/aravind/.bundler/tmp/15662/gems/pg-0.12.2에 계속 설치되어 있습니다. 결과는 /home/aravind/.bundler/tmp/15662/gems/pg-0.12.2/ext/gem_make.out에 기록됩니다. pg (0.12.2) 설치 중 오류가 발생하여 Bundler를 계속 진행할 수 없습니다. 'gem install pg -v '가 번들링되기 전에 0.12.2''가 성공했는지 확인하십시오. 이것은 내가 말한 것을했을 때의 오류입니다. 도와주세요. – Aravind