/var/log/nginx/error.log
에서 에러로그를 확인했을때
Devise.secret_key was not set.
Please add the following to your Devise initializer:
이런 에러가 날경우에는
config/initializers/devise.rb
에서 config.secrey_key = '1eoij124l2j5po23~~~'이런식으로 되있는 줄이 주석처리 되어있을것이다.
이부분은 해제 하면 에러가 사라진다.
'ruby on rails' 카테고리의 다른 글
rails+dragonfly 사용할때 sh: convert: command not found 에러해결 (0) | 2015.07.01 |
---|---|
rails+nginx+passenger development 모드사용하기 (0) | 2015.06.30 |
rails+nginx+passenger 로 deploy시 css및 자바스크립트 작동안되는 현상 (0) | 2015.06.30 |
rack/cache Be sure to add rack-cache to your Gemfile (LoadError) 에러 (0) | 2015.06.22 |
rails에서 javascript 작성 했는데 코드가 실행 되지 않을때 (0) | 2015.06.18 |
WRITTEN BY
- rabbbit
필기
,