3

It all was working fine before bootstrap update but now i have this error:

cannot load such file -- less
 (in /home/warch/development/railcast_196/app/assets/stylesheets/bootstrap_and_overrides.css.less)`

i tried to google this with no luck, i already added the less gems specified in the latest bug resolve:

Gemfile extract:

gem 'less-rails'
gem 'therubyracer'
...
gem 'twitter-bootstrap-rails'
AdrieanKhisbe
  • 3,899
  • 8
  • 37
  • 45
KoU_warch
  • 2,160
  • 1
  • 25
  • 46
  • http://stackoverflow.com/questions/7233465/less-js-loaderror-no-such-file-to-load-less-on-main-less-file ? – MrYoshiji Nov 15 '12 at 16:57
  • Thank you @MrYoshiji i gladly found a duplicate of my problem. – KoU_warch Nov 15 '12 at 17:00
  • Okay great, you should post an answer yourself and accept it as valid answer for next users ;) – MrYoshiji Nov 15 '12 at 17:01
  • possible duplicate of [adding twitter-boostrap-rails with an existing rails app](http://stackoverflow.com/questions/10232945/adding-twitter-boostrap-rails-with-an-existing-rails-app) – Daniel A. White Nov 15 '12 at 17:06

2 Answers2

3

add in your Gemfile in assets group

gem 'less', '2.2.2' # (at this date)

Fusco
  • 64
  • 8
2

This was gladly a resolved duplicate of:

Adding twitter-bootstrap-rails with an existing rails app

I only need to restart as @danieleds answered.

Community
  • 1
  • 1
KoU_warch
  • 2,160
  • 1
  • 25
  • 46