Closed camdixon closed 10 years ago
Specifically this line of code in my view breaks my app. It is when I include the SASS file.
<%= stylesheet_link_tag "application", media: "all" %>
Also, it is the same link that is used in the base nku-project repository. I ran bundle & bundle install and also the bootstrap gem is in the gemfile.
The issue has been fixed by renaming the application.scss file from the base repository 'nku-project' to
application.sass
Not sure why this worked or is needed.
You need to add a semicolon after the following in your application.scss
file like this:
import @bootstrap;
That is a mistake in the template nku-project template.
Should I rename the file back to application.scss and add the semi-colon instead of my solution?
@rockwood and I usually use the .sass syntax, because it's a little less noisy, but I believe the thought was that the scss syntax might be better for the class because it looks a lot more like normal css. Feel free to use sass syntax that you're using.
I'm not really sure where to start, but I have this error on my page when the app loads. I don't really understand where this is coming from as my view code seems to be fine, and it should load the style sheet.
Here is my sass code