skip to Main Content

I’m used this workflow, https://stackoverflow.com/a/9125499/3057033

But here is my posts page.

enter image description here

What I am missing?

I solved my issue. Please look at my answer.

3

Answers


  1. Chosen as BEST ANSWER

    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.


  2. 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";
    
    Login or Signup to reply.
  3. add

    /*
     *= require bootstrap_and_overrides
    */
    

    to your application.css

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search