1
나는 Rails와 nginx와는 여전히 약간의 어려움을 겪고 있지만, 대부분이 정리되어있다. 지금은 rails -s
로 서버를 사용하는 경우, 모두 잘 작동하고 내가 그러나 다음과 같은 오류를 얻고있다 nginx를 통해 3000 포트와 IP에 연결하는 경우 나, 모든 기사를 볼 수 있습니다레일 SQLite 같은 테이블?
App 30780 stderr: Started GET "/articles" for 188.193.201.119 at 2014-02-10 17:57:51 +0000
App 30780 stderr: Processing by ArticlesController#index as HTML
App 30780 stderr: SQLite3::SQLException: no such table: articles: SELECT "articles".* FROM "articl$
App 30780 stderr: Rendered articles/index.html.erb within layouts/application (2.1ms)
App 30780 stderr: Completed 500 Internal Server Error in 4ms
App 30780 stderr:
App 30780 stderr: ActionView::Template::Error (SQLite3::SQLException: no such table: articles: SEL$
App 30780 stderr: 12: </thead>
으로 rails 서버를 수동으로 실행하면 레일즈 콘솔에서 모든 기사를 볼 수 있습니다. 그런데 왜 내가 여기에 오류를주는거야? : -/
이 nginx를 함께 할 수 없다의 문제를 해결. 귀하의 검색어가 정의하지 않은 열을 참조하고있는 것 같습니다. –