Adding twitter-bootstrap-rails with an existing rails app

后端 未结 5 499
不思量自难忘°
不思量自难忘° 2021-02-08 00:11

I am trying to use twitter-bootstrap-rails with an existing rails application and getting the following error when i refreshed the page.

no such file to load -- less (

5条回答
  •  星月不相逢
    2021-02-08 00:52

    In some case, you have not installed therubyracer.

    add

    #gem 'therubyracer' , '= 0.10.2'
    

    to your Gemfile and

    #bundle install
    

    may resolve this problem. (In my case, I could not make the rubyracer 0.11.0, so I designated 0.10.2)

    If you have not installed libv8, you have to exec

    #gem install libv8 --version=3.11.8.3
    

    or something like this before hand.

提交回复
热议问题