KoU_warch
KoU_warch

Reputation: 2150

Rails: Issue with less after bootstrap update -- Cannot load such file -- less

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'

Upvotes: 3

Views: 8443

Answers (2)

Fusco
Fusco

Reputation: 64

add in your Gemfile in assets group

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

Upvotes: 3

KoU_warch
KoU_warch

Reputation: 2150

This was gladly a resolved duplicate of:

Adding twitter-bootstrap-rails with an existing rails app

I only need to restart as @danieleds answered.

Upvotes: 2

Related Questions