I am new to rails and was following this tutorial https://launchschool.com/blog/integrating-rails-and-bootstrap-part-1#css_preprocessors when I got to the part of adding bootstrap by adding
@import "bootstrap-sprockets"
@import "bootstrap"
at the very bottom of application.css.sass it all worked perfectly fine. However, I had a line of code
html, body{background:#000;color:#FFF;}
that wasn't being respected. After looking around, I realized that it's because of my application file:
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
* files in this directory. Styles in this file should be added after the last require_* statement.
* It is generally better to create a new file per style scope.
*
*= require_tree .
*= require_self
*= require custom
*/
@import "bootstrap-sprockets"
@import "bootstrap"
I understand that since "bootstrap" is at the very bottom, that is the css that the website uses, however, if I move it to the top or in any other spot, I get an error page. Is there another way for me to import bootstrap or for me to override the page?

html, body { background:#000;color:#FFF; }isn't valid for one. You can also refer to the Bootstrap-SASS Docs for Ruby implementations.