【Rails】The asset "application.css"is not present in the asset pipeline. 해결책
(괜찮을지도 모르지만, 제가 Rspec을 도입해서 일어났어요.)
컨디션
ruby 2.7.5
Ruby on Rails 6.1.4.4
Docker 20.10.11/docker-compose 2.2.1
PostgreSQL 14.1
까닭
확인log/production.log
후 다음 오류가 발생했습니다.ActionView::Template::Error (The asset "application.css" is not present in the asset pipeline.):
해결책 config/environments/production.rb
다음과 같은 수정을 거쳐 제거되었습니다.- config.assets.compile = false
+ config.assets.compile = true
Reference
이 문제에 관하여(【Rails】The asset "application.css"is not present in the asset pipeline. 해결책), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/Hyzsa/items/e1353254ab3bf02c40af
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
확인
log/production.log
후 다음 오류가 발생했습니다.ActionView::Template::Error (The asset "application.css" is not present in the asset pipeline.):
해결책 config/environments/production.rb
다음과 같은 수정을 거쳐 제거되었습니다.- config.assets.compile = false
+ config.assets.compile = true
Reference
이 문제에 관하여(【Rails】The asset "application.css"is not present in the asset pipeline. 해결책), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/Hyzsa/items/e1353254ab3bf02c40af
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
- config.assets.compile = false
+ config.assets.compile = true
Reference
이 문제에 관하여(【Rails】The asset "application.css"is not present in the asset pipeline. 해결책), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/Hyzsa/items/e1353254ab3bf02c40af텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)