Rails: File to import not found or unreadable: “bootstrap”

前端 未结 8 1383
野的像风
野的像风 2021-02-19 14:03

I am relatively new to programming, therefore I hope that the question is not absolutely stupid.

I got a problem concerning my rails app.

I try to use bootstrap.

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-19 14:22

    I had this same problem, solved by fixing bootstrap-sass and sass-rails versions to:

    gem 'sass-rails', '~> 3.2'
    gem 'bootstrap-sass', '~> 2.3.1.0'
    

    And then bundle install and server restart.

提交回复
热议问题