Reputation: 486
I'm used this workflow, https://stackoverflow.com/a/9125499/3057033
But here is my posts page.
What I am missing?
I solved my issue. Please look at my answer.
Upvotes: 0
Views: 228
Reputation: 2424
add
/*
*= require bootstrap_and_overrides
*/
to your application.css
Upvotes: 1
Reputation: 486
I'm solving this problem with add less
the end of the command.
rails generate bootstrap:install less
I think newer versions of the Gem need this.
I'm not reading well README file. Just watch the railscasts.
It's my fault, so sorry.
Upvotes: 0
Reputation: 869
Most common reason of your error is that you forget to add bootstrep styles to your layout
So, in app/assets/stylesheets/application.scss (note that file can be different if you have another layout)
@import "bootstrap-sprockets";
@import "bootstrap";
Upvotes: 1