Bootstrap doesn't show up on Rails

I am on the Hartl tutorial and I am in chapter 5

https://www.railstutorial.org/book/filling_in_the_layout#sec-custom_css

I add bootstrap to the site but it doesn't show up for it. Instead, it appears as if I never added bootstrap at all. I added installed gem and bundle and created app / assets / stylesheets / custom.css.scss file and placed

@import "bootstrap-sprockets";
@import "bootstrap";

      

to the file. Then I restarted the server but nothing else appeared. If it matters I am on windows.

+3
ruby ruby-on-rails twitter-bootstrap


source to share


No one has answered this question yet

Check out similar questions:

1339
How can I rename a database column in Ruby on Rails migrations?
1073
Center column using Twitter Bootstrap 3
1023
How do I get the current absolute url in Ruby on Rails?
941
Understanding Rails Authentication ID
876
Brief explanation of nil v. Empty v. Blank in Ruby on Rails
112
Installing Bootstrap 3 on Rails App
five
Ruby on Rails error while importing "bootstrap"
3
Error after adding @import "bootstrap"; ArgumentError at Static_pages # home
1
Import file not found or unreadable: bootstrap-sprockets on rails 5.2.0
0
Michael Hartl Chapter 5 Boot Error



All Articles
Loading...
X
Show
Funny
Dev
Pics