I am following the book code for code and then got to the application.css.scss part in page 97.
I was too lazy to type all the CSS code in so I just downloaded it from the link
Firstly the downloaded file is a CSS file not a SCSS file. Secondly after downloading it and running the server, I get the following error:
Sprockets::CircularDependencyError in Store#index
C:/Sites/work/depot/app/assets/stylesheets/application.css has already been required
with the highlighted line being
<%= stylesheet_link_tag “application”, media: “all”, “data-turbolinks-track” => true %>
Help please? :)
The problem will go away if I delete the application CSS file or if I remove that line of code but I don’t think I’m supposed to do that.. Right?