Ruby on Rails error “cannot load such file — less”

后端 未结 5 1680
自闭症患者
自闭症患者 2020-12-13 08:53

I am fairly new to ruby on rails, I have been trying to use twitter-bootstrap as an asset, so I have included it in my Gemfile, bundled and it inst

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 09:32

    You have to either update therubyracer or downgrade the twitter-bootstrap-rails gem down to version 2.1.7 which is the last known version that didn't have this issue.

    Run either bundle update to update your gems or in your Gemfile make your twitter-bootstrap-rails gem look like this:

    gem 'twitter-bootstrap-rails', '2.1.7'
    

    Take a look at this issue:

    https://github.com/seyhunak/twitter-bootstrap-rails/issues/465

    This issue started happening on versions after 2.1.7 on twitter-bootstrap-rails.

提交回复
热议问题